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