You should remove the <base>/mapcache</base> from the >cache> block, as it takes precedence over your <template>
-- thomas On Wed, Feb 9, 2022 at 12:10 PM Trygve Aspenes <try...@aspenes.priv.no> wrote: > Hi > > I have a mapcache running using disk as cache method with config like > this: > > <cache name="disk" type="disk"> > <base>/mapcache</base> > > <template>/mapcache/{tileset}#{grid}#{dim}/{z}/{x}/{y}.{ext}</template> > </cache> > > But here is what I get on disk: > > /mapcache/<my tileset > name>/EPSG:3857/2022-02-05T00:12:00Z/05/000/000/038/000/000/043.png > > What I don't understand is below the zoom level (here 05) I get 000 > followed by 000. Then the y followed by another double 000 before I get > the x with my extension. > > Where does all these 000 sub directories comes from and what functions > do they have? > > I don't think this affects the performance, but this must cause creating > thousands and thousands of unnecessary sub directories? > > Thanks. > > Trygve > _______________________________________________ > MapServer-users mailing list > MapServer-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users