Hi Milo,
it depends how you use mapserver:
- as a cgi
- using mapserver/php script (mapscript)
Using it as a cgi (as you do), there will be no temporary images: upon
creating the map-image the image is streamed to the client.
Using mapscript, mapscript generates an image and a page in which there
is an url to THIS image. This url is unique on every request: no caching
either.
Caching is rather difficult with current clients: every url/bbox is
almost unique.
IF the extent, and everything is always the same (as you say), you could
try to arrange something with a webproxy/cache (in front of mapserver),
this will then serve a cached version of your image. But this has not
something to do with mapserver(s temp directory).
OR you should use a tiling server, and a client which can use that. With
tiles your are caching.
Gr Richard Duivenvoorde
Milo van der Linden wrote:
Hello list,
My mapserver is not running optimal.
I serve a global bathymetry raster and the maps that users request are
always based upon a fixed extent (country boundaries)
- Somehow nothing happens in my map-temp directory, I see no temp files
appear.
- If I manage to get temp files into my map-temp, will mapserver use
them as cache?
- Are there other ways to set up caching with mapservers?
Any tip at all will be highly appreciated.
Kind regards,
Milo van der Linden