[mapserver-users] Limit caching for some zoom level only

Martin Ouellet geomartino at gmail.com
Wed Mar 20 12:50:37 PDT 2013


Hi all,

I would like to limit the caching for some levels (ex: 10  to 15) and
fallback with the WMS request (without caching the tiles) for the other
zoom level (ex: 0 to 9 and 16 to 19)

I've try this in the config (using minzoom and maxzoom):

<tileset name="Ortho1948">
      <source>Ortho1948</source>
      <cache>disk</cache>
      <grid minzoom="10" maxzoom="15">google</grid>
      <format>PNG</format>
      <metatile>5 5</metatile>
      <metabuffer>10</metabuffer>
      <expires>3600</expires>
   </tileset>

The tiles are generated for level 10 to 15 but for the other zoom level,
the WMS is not called.

Is it possible to configure mapcache to do that?

regards,

MartinO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130320/49cfa861/attachment.htm>


More information about the MapServer-users mailing list