hi, i have a python caching script hacked up for openlayers here:<br><a href="http://128.32.253.248/openlayers/tilecache.txt" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://128.32.253.248/openlayers/tilecache.txt
</a><br>and demo here: <a href="http://128.32.54.87/openl.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://128.32.54.87/openl.html</a> (non-cached tiles are _sloooow_ )&nbsp;  <br><br>it splits into directories for caching by the url:&nbsp;
&amp;layers=abcd&amp;request=wms becomes: /layers__abcd/request_wms/<br>and it splits up the spatial parameters so that there are never &gt; 1000 files<br>per directory. meaing &amp;x=12345 becomes /x_12/345/&nbsp; where x is the tile_number.
<br><br>if the files are saved in a web dir, once all tiles are known
to be cached, you can potentially circumvent the caching script (and
the WMS) by just creating the url to the cached image directly in
javascript...
[i have not implemented this yet, but should be &lt; 15 lines of .js]<br><br>right
now works for WMS and MapServer after modification of
/OpenLayers/Tile/Image.js&nbsp; (copy and paste from the docstring in the
python code linked above and change the url to point to your version of
tilecache.py
). <br><br>It could be better integrated into the openlayers api but then it wouldnt be a hack.<br>and
i thought before i put more time into it, i thought i'd check to see if
this has already been done for OL. or if anyone has ideas.