> I want to create a cache in the structure /z/x/y.png but using a > template > for the cache type disk, it's impossible to restart Apache. > > <cache name="disktest" type="disk"> > > <template>C:/ms4w/tmp/ms_tmp/cache/{tileset}/{grid}/{z}/{x}/{y}.{ext} > </templ > ate> > <symlink_blank/> > </cache>
Have you tried adding a layout="template" attribute to the cache element? <cache name="disktest" type="disk" layout="template"> > Also the cache type mbtiles doesen't work > > <cache name="mbtiles" type="mbtiles"> > <dbfile>C:/ms4w/tmp/ms_tmp/cache/test.mbtiles</dbfile> > </cache> > Cache type mbtiles is bundled with the sqlite driver. So if one works the other will also do. Have you tried moving it out of the way and let mapcache create a fresh one? _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users