[mapserver-users] mapcache check cache before testing source data?

jrumbolt cankorusa at gmail.com
Thu Apr 24 21:48:37 PDT 2014


Thomas,

If my mapcache.xml file is as below... then it does contain a reference to
the data. I'd like that if a tile is in the cache then use it otherwise
generate from the source. Is there something that I should be doing
differently?

Cheers,

Jerry


   <source name="dataset_356a6e96-cbd2-11e3-8549-06cb762f3bdb" type="wms">
      <getmap>
         <params>
            <format>image/jpeg</format>
            <layers>dataset</layers>
           
<map>/mnt/data/ogcservices/356a6e96-cbd2-11e3-8549-06cb762f3bdb.map</map>
            <transparent>TRUE</transparent>
         </params>
      </getmap>
      <http>
        
<url>http://127.0.0.1/cgi-bin/mapserv?map=/mnt/data/ogcservices/356a6e96-cbd2-11e3-8549-06cb762f3bdb.map</url>
      </http>
   </source>
   <tileset name="dataset_356a6e96-cbd2-11e3-8549-06cb762f3bdb">
      <cache>local-disk-cache</cache>
      <source>dataset_356a6e96-cbd2-11e3-8549-06cb762f3bdb</source>
      <grid max-cached-zoom="19" out-of-zoom-strategy="reassemble"
restricted_extent="8072159.16799 2628826.6365 8089036.32818
2645666.47154">GoogleMapsCompatible</grid>
      <format>80jpeg</format>
      <metadata>
         <title>dataset</title>
      </metadata>
   </tileset>



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/mapcache-check-cache-before-testing-source-data-tp5136792p5137048.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list