Sunday 15 July 2012

javascript - How to increase the Quota of IndexedDB on Firefox? -


Because I ran into problems using Chrome and Indexed DB for large objects (video), I got the error again : I have implemented one to generate when I run this test script on Firefox, I get a "quota-fixed error" after reaching 2 GB continuous space.

About Indexed BDDN says, "there should be no limit on the size of indexed DB database".

So, when this error arises, is it possible to use Java to programmatically extend quotas? For example, ask the user to store more data.

Thanks, Kai

next sentence in the documentation

, although there may be a limit on the size of each indexed database.

In this theory, you can add infinite shapes to things as long as this size is less than the maximum size of the entire database.

This limitation is to prevent web sites to arbitrage the data on a user's computer. This is a security feature, as far as I know, there is no way to change this size from javascript is. All browsers have limited the amount of data that a web page can store.

A user can change his / her preferences (explained in the documentation) but you will be told them how to do it (each browser).


No comments:

Post a Comment