temp directory remain empty

Matt Pettis matt.pettis at THOMSON.COM
Wed Dec 5 07:17:51 PST 2007


Can you point to some good TileCache examples?  I've been trying to come
up with a home-grown caching system, and I'd love to use one built by
someone smarter than me who's already done the work... 

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Gregor Mosheh
Sent: Wednesday, December 05, 2007 8:40 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] temp directory remain empty

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