[OpenLayers-Users] limit cache buildup on client?

William Kyngesburye woklist at kyngchaos.com
Wed Feb 18 13:55:02 EST 2009


I noticed this when I was looking at mapfish, but ultimately it's  
OpenLayers.  As a session in an OL map progresses, cached images build  
up in the browser.  In a tiled map with many layers and fractionalzoom  
on this can get up into the many hundreds quite fast.

I don't know if this adversely affects the browser performance  
(probably depends on how the browser handles cached files).  Is there  
a way to limit the number of images OL caches?  Is it worth worrying  
about?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"We are at war with them. Neither in hatred nor revenge and with no  
particular pleasure I shall kill every ___ I can until the war is  
over. That is my duty."

"Don't you even hate 'em?"

"What good would it do if I did? If all the many millions of people of  
the allied nations devoted an entire year exclusively to hating the  
____ it wouldn't kill one ___ nor shorten the war one day."

<Ha, ha> "And it might give 'em all stomach ulcers."

- Tarzan, on war




More information about the Users mailing list