[OpenLayers-Users] limit cache buildup on client?
Christopher Schmidt
crschmidt at metacarta.com
Wed Feb 18 14:00:41 EST 2009
On Wed, Feb 18, 2009 at 12:55:02PM -0600, William Kyngesburye wrote:
> 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?
OL doesn't cache any files, though the number of files it loads can be
miniized by the 'buffer':0 option on tiled layers.
This is all within the browser realm; outside of the Javascript world.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list