Should this question be asked on Github/Stackoverflow?

From: openlayers-users-boun...@lists.osgeo.org 
[mailto:openlayers-users-boun...@lists.osgeo.org] On Behalf Of Nick Karnik
Sent: Friday, May 17, 2013 1:37 PM
To: openlayers-users@lists.osgeo.org
Subject: [OpenLayers-Users] Controling cache size and storage location for 
CacheWrite

Hello,

I'm using the CacheWrite control and running into an issue with the Local 
Storage filling up quickly so I was wondering if any of the following are 
possible in the current 2.13 codebase:


1.       Can I limit the amount of space reserved for the OL Cache? I'm using 
LocalStorage for storing other data in my application and running out of space 
pretty quickly due to the map cache. I know I can clear the MapCache when that 
happens, but that's my last resort.

2.       Can I configure the CacheWrite control to use Session 
Storage/IndexedDB instead of the Local Storage?

3.       What about having OL cache use an in-memory cache?

Are there any work around for this issue other than using IndexedDB or clearing 
the map cache?

Thanks,

Nick Karnik
Software Engineer, EMOD
nkar...@intven.com<mailto:nkar...@intven.com>
T - 425.691.2772
F - 425.467.2350
[Description: Macintosh 
HD:private:var:folders:zw:nhpyfsj15yz5p_qn04yzr5cm0000gn:T:TemporaryItems:GG_Logo_PMS
 356.png]

This message may contain confidential information which may also be legally 
privileged information. If you are not an intended recipient of the message, 
please delete it and notify the sender via reply email.
Any unauthorized dissemination, distribution or copying of the material in this 
message, and any attachments to the message, is strictly forbidden.

<<inline: image001.png>>

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to