谷歌浏览器是否有办法允许 HTML5 离线存储空间超过 4 MB(200 万 UTF-16 字符)?
我已经为 Chrome 创建了一个托管应用程序,我想知道是否有任何方法可以在 Chrome 中获得超过 4 MB 的离线存储空间。 我看过这篇文章 http://code.google。 com/chrome/webstore/faq.html#faq-app-15 但 one 表示可以将 Chrome 的离线存储空间增加最多约 260MB。这真的可能吗?如果是这样,有什么例子可以说明这种可能性吗?
我也看过这个 stackoverflow 的帖子,WebSQL DB 似乎没有有一个限制。那么WebSQL DB或IndexedDB是chrome应用程序存储更大离线内容的唯一选择吗?
感谢您的反馈
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看配额管理 API:http://updates。 html5rocks.com/2011/11/Quota-Management-API-Fast-Facts
或者,如果您要创建托管应用程序,则可以使用超出配额限制的
unlimitedStorage
权限:http:// code.google.com/chrome/apps/docs/developers_guide.htmlTake 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