4

I have created a hosted app for Chrome and I am wondering if there is any way that I can get more than 4 MB offline storage in Chrome. I have looked at this post http://code.google.com/chrome/webstore/faq.html#faq-app-15 but one says that it is possible to increase Chrome's offline storage by up to ~260MB. Is this really possible? if so, is there any example that illustrates that possibility?

I have also looked at this stackoverflow's post and WebSQL DB appears to not have a limit. so is WebSQL DB or IndexedDB an only option for chrome app to store larger offline contents?

Thank you for your feedback

Community
  • 1
  • 1
Naoya Makino
  • 557
  • 2
  • 8
  • 24

1 Answers1

3

Take a look at the Quota Management API: http://updates.html5rocks.com/2011/11/Quota-Management-API-Fast-Facts

Or, if you're creating a hosted app, you can use the unlimitedStorage permission to surpass the quota limits: http://code.google.com/chrome/apps/docs/developers_guide.html

Boris Smus
  • 8,220
  • 2
  • 36
  • 33
  • 4
    Not that quota won't apply if you're using `localStorage` or `sessionStorage`. You'll need to be using IndexedDB, the Filesystem API, or WebDB to take advantage of Quota. – Mike West Nov 17 '11 at 10:01