temp directory remain empty

Gregor Mosheh gregor at HOSTGIS.COM
Wed Dec 5 09:39:42 EST 2007


Hi, Milo.  :)

Using Mapserver as a WMS server, it doesn't touch the temp directory. 
That's normal. The mapserv binary doesn't offer a way to force the image 
to be dumped to disk, nor will it look for a previous identical request 
and reuse the image.

If you want generated images to be cached, have you considered using 
TileCache? It does exactly what you want, I think: it acts as a WMS 
proxy, saves the "tile" to disk, and will regurgitate that same tile 
later. I use TileCache extensively on a few projects, and it is a 
miracle for situations where the WMS requests are very expensive.


-- 
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA



More information about the mapserver-users mailing list