From what I can understand Chrome imposes a "soft" limit of 5Mb on the size of data stored in localStorage and IndexedDB. There are a number of things here that are not clear to me
- What precisely is meant by "soft" in this context?
- Does this mean localStorage:5Mb + IndexedDB:5Mb?
- I have not hit the buffers yet but then I keep clearing out my browser stores as I develop my app. What happens when the limits are reached? An exception is thrown and needs to be caught?
- Would there be much mileage in compressing data prior to storage? This seems to offer an excellent route if data compression is worth doing.
Compression would come at the cost of loosing the benefits of being able seamlessly to store/fetch JSON in IndexedDB (though this can be made transparent to my app with little extra effort).
I'd much appreciate any guidelines with these issues.