Thanks Stephen and Thomas.<div><br></div><div>I think I&#39;ll be good with the dimension and the disk cache.  Unfortunately, the apache we have doesn&#39;t have memcache built into it (too much hassle to upgrade it right now) and the version of SQLite is too old...also a hassle to upgrade.</div>
<div><br></div><div>I was able to get it to load the proper map when just using the entire bounding box, the whole world.  Now to make it work with the the tilemode for google...which looks like that should be straight forward??</div>
<div><br></div><div><br></div><div>Thanks guys!!</div><div><br></div><div>Jerl<br><br><div class="gmail_quote">On Sun, Dec 4, 2011 at 2:00 PM, thomas bonfort <span dir="ltr">&lt;<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Jerl,<br>
mapcache itself does not do any pruning of the caches it has created,<br>
but you can get the same effect by using a cache backend that supports<br>
expiration (i.e. memcache).<br>
Mapcache can fit your need, provided:<br>
- you configure your tileset with a &quot;targetdate&quot; &lt;dimension&gt;- you use<br>
a memcache backend to store the created tiles, and set an &lt;expires&gt;<br>
value in mapcache to 5 hours<br>
If the memory requirement for storing 5 hours worth of tiles is too<br>
important for a memcache server instance, you can have a look at<br>
membase which will also store less frequently used data to disk. The<br>
membase protocol is compatible with memcache, so you can use either<br>
memcache or membase with the same mapcache configuration.<br>
<br>
Of course, by running a script every hour to delete expired tiles as<br>
you are doing now, you can then use the classic disk based cache<br>
backend.<br>
regards,<br>
thomas<br>
<div class="HOEnZb"><div class="h5">On Sun, Dec 4, 2011 at 20:13, forums &lt;<a href="mailto:forums@craniumjuice.com">forums@craniumjuice.com</a>&gt; wrote:<br>
&gt; Hi:<br>
&gt;<br>
&gt; I hope this is the proper place to ask questions about Mapcache since it&#39;s<br>
&gt; been moved into the trunk of Mapserver.<br>
&gt;<br>
&gt; I&#39;m wondering if Mapcache can help with a particular setup, and if so maybe<br>
&gt; some advice or direction on where to start?<br>
&gt;<br>
&gt; Here&#39;s the setup.  Every 5 minutes a new set of GeoTiffs are created in a<br>
&gt; new directory.  I create a tileindex for the GeoTiffs and use those in the<br>
&gt; map layer.  Every hour, anything more than 5hours old gets deleted.<br>
&gt; I have a single mapfile setup.<br>
&gt;<br>
&gt; The general layer is setup like:<br>
&gt;<br>
&gt;     LAYER<br>
&gt;         NAME &#39;IMG1&#39;<br>
&gt;         METADATA<br>
&gt;             &#39;wms_title&#39;           &#39;IMG 1&#39;<br>
&gt;             &#39;wms_srs&#39;             &#39;EPSG:4326&#39;<br>
&gt;             &#39;wms_extent&#39;          &#39;MINX MINY MAXX MAXY&#39;<br>
&gt;             &#39;default_targetdate&#39; &#39;&#39;<br>
&gt;             &#39;targetdate_validation_pattern&#39; &#39;^[0-9]{12}$&#39;<br>
&gt;         END<br>
&gt;         STATUS ON<br>
&gt;         TILEINDEX &#39;/PATH/TO/IMG/DIR/%targetdate%/TILEINDEX.shp&#39;<br>
&gt;         TILEITEM &#39;Location&#39;<br>
&gt;         TYPE RASTER<br>
&gt;     END<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m currently loading these images as overlays for Googlemaps. using the<br>
&gt; mode=tile&amp;tilemode=gmaps...&amp;targetdate=2011...etc.<br>
&gt; Problem is it&#39;s too slow. I end up loading hundreds of images, as I<br>
&gt; basically create an animation using sequential times.<br>
&gt;<br>
&gt; I&#39;d like to be able to have a single mapcache config file, that will pass<br>
&gt; the date through to pull the proper shapefile, and have the result cached so<br>
&gt; next time it&#39;s loading off the disk.  MOST of the images end up being<br>
&gt; blank/transparent tiles.<br>
&gt;<br>
&gt; Is Mapcache a good choice for this?<br>
&gt; The front end for this is just a simple GoogleMaps viewport, but ends up<br>
&gt; loading multiple timeslots for display.  It generates the request URL (not<br>
&gt; currently in WMS fashion but could be).<br>
&gt;<br>
&gt; Thanks for any help I can get.<br>
&gt;<br>
&gt; Jerl<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>A computer without Windows is like chocolate cake without mustard.<br>
</div>