3

I am developing a web application for remote areas with little internet connectivity and was wondering if I can use HTML5 localStorage with a maximum size of 10MB and HTML5 local Database with a maximum size of 10MB for a total of 20MB of offline storage (Not including HTML5 Application Cache) or do browsers combine these quotas? Is HTML5 Application Cache a separate quota? Are there any other ways of getting more than 10MB of persistent storage?

2
  • See these related question: stackoverflow.com/questions/3568557/… and stackoverflow.com/questions/5914143/… Commented Jul 5, 2011 at 23:58
  • I previously looked at both of these topics and while one asks the question is the quota shared, that part of the question was never answered. My question is simply are the quotas for offline storage shared or separate? Commented Jul 6, 2011 at 14:15

1 Answer 1

1

You might expect the browser to enforce a single limit for all storage an origin can use, but the major browsers are actually enforcing limits separately for each storage mechanism.

Source: http://www.html5rocks.com/en/tutorials/offline/storage/#quotas

That answers your question I think.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.