实现 Web 应用程序离线存储的最佳方式(适用于所有浏览器和平板电脑)
我想知道为 Web 应用程序实现离线功能的最佳方法。我已经在网上搜索过,但无法弄清楚当前离线创建 Web 应用程序的最佳方法是什么(并且将来会起作用)
我可以使用离线应用程序缓存保存 Web 应用程序的布局...
但是问题是我有很多需要离线存储的键值数据。使用 localStorage、sessionStorage 离线保存数据的限制是 5MB...这还不够...
我搜索以下内容:
- 来自 Google 的 Gears:不再支持
- Web SQl 数据库:不再支持
- IndexedDb HTML5:并非所有人都支持浏览器(仅限 Chrome 和 Firefox)。我认为这是目前最好的方法...
是否可以增加离线应用程序缓存并以文本格式保存离线应用程序缓存的键值数据?
I wonder about the best way to implement offline possiblities for a web application. I have searched the web but couldn't figured out what currently the best way is to create a web application offline (and will work in the future)
The lay-out of the web application i can save with Offline Application Caching...
But the problem is that i have a lot of key-value data that i need to store offline. With localStorage, sessionStorage the limit to save data offline is 5MB...And that's not enough...
I seach for the following things:
- Gears from Google: not supported anymore
- Web SQl database: not supported anymore
- IndexedDb HTML5: not supported by all browsers (only chrome and firefox). I think this is currently the best way...
Is it possible to increase the Offline Application Caching and save the key-value data in a text format witch offline application caching??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
https://github.com/marcuswestin/store.js 已经成熟(约 2 年),仍在更新并可在一系列令人惊叹的浏览器中运行。
https://github.com/marcuswestin/store.js is mature (~2 years), still updated and works in an amazing array of browsers.