Storage limit for indexeddb on IE10

We are creating a web application that stores many files in the form of blocks with indexed DB. If the user makes the most of our application, we can store up to 15 GB of file in indexeddb.

We ran into a problem with IE10, which I suspect is a quota issue.

After successfully saving some files, a new call to store.put(data, key); will never end.

In principle, a function will be called, but a success event or an error event will not be called.

If I look at the IndexedDB folder in IE 10, I will see several files that look like temporary files (512 kB each) that will be created and deleted indefinitely.

When I look at the "Cache and Database" options window, I see that my site's database has reached 250 MB .

Looking further, I found this blog entry http://msdnrss.thecoderblogs.com/2012/12/using-html5javascript-in-windows-store-apps-data-access-and-storage-mechanism-ii/ which, unfortunately, indicates that the storage limit for Windows Store apps is 250 MB.

I do not use the Windows Store mechanism, but I decided that I could become a victim of the same arbitrary restriction.

So my question is:

  • Is there a way around this limit? The user gets permission to exceed the 10 MB limit, but I did not see any problems when the user reached 250 MB.

  • Is there any other way to store more than 250 MB of data using IE10.

Thanks, I will accept any hints.

+7
source share
1 answer

I'm afraid you can’t. Providing restrictions on storage and allowing the user to allow more free space is the responsibility of the browser provider. Therefore, I do not think that the first option is applicable.

I know that a user can allow a website to exceed the provision limit (Internet settings> General> Browsing history> Settings> cache and databases), but I don’t know if it will be able to redirect 250 MB. Maybe it's a hard drive that you cannot exceed.

This limit is bound to a domain, meaning that you cannot solve it by creating multiple databases. The only solution is to store in several domains, but in this case you cannot go to them. Also, as I see, a limit of 250 MB will be for the indexeddd API and the API files together

+5
source

All Articles