Mapserver caching and map generation
Ramesh Karra
karrarm at YAHOO.COM
Wed Mar 15 12:09:13 PST 2006
Thanks for the quick reply stephen,
So, the following entries in the map file are not used by the mapserver?
WEB
IMAGEPATH '/ms4w/tmp/ms_tmp/'
IMAGEURL '/ms_tmp/'
END
Anyway, I will post the question to ka-map list.
Thanks again
Ramesh
On Wed, 15 Mar 2006 14:13:17 -0500, Stephen Woodbridge
<woodbri at SWOODBRIDGE.COM> wrote:
>Ramesh,
>
>This has been discussed quite extensively of late. Mapserver does not do
>caching at all. Every mapserver request will generate a new image. If
>you want to do caching, you might look at ka-map which creates a tile
>cache and serves the tiles if they exist or generates them if they do
>not. It is an AJAX client that uses mapserver on the back-end and looks
>like google.
>
>-Steve W.
>
>Ramesh Karra wrote:
>> Hi,
>>
>> I have a related question -
>>
>> I have a map that has 4 tiles at the top level and more tiles as I zoom
>> in. Let's say total tiles at all levels is 256. Once all these 256 tiles
>> are generated, mapserver will just serve these from the cache and will
not
>> generated the same tiles again and again, Am I right?
>>
>> If I configure some kind of RAM based file system as the mapserver cache
>> directory, then all requests will be served from the memory and the
>> performance would be great. I would appreciate if some one could confirm
>> that this is the way mapserver works.
>>
>> Thanks
>> Ramesh
>>
More information about the MapServer-users
mailing list