IndexDB 跨浏览器的支持状况如何?
显然,W3C 不推荐使用 SQL 存储(值得庆幸的是),而 IndexedDB 似乎是推荐的。另一方面,我遇到过类似以下的事情:
var indexedDB = window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB;
这让我很担心。
支持IE浏览器吗?各种浏览器的支持级别是多少?我似乎找不到列出此信息的页面。
Apparently the SQL storage is deprecated by W3C (thankfully), and the IndexedDB seems to be the recommendation. On the other hand, I've come across things like the following:
var indexedDB = window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB;
Which concerns me.
Is IE supported? What is the level of support for the various browsers? I can't seem to find a page that lists this information.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下是桌面和移动浏览器中 IndexedDB 支持的兼容性表。: http://caniuse.com/indexeddb
Here is a compatibility table for support of IndexedDB in desktop and mobile browsers.: http://caniuse.com/indexeddb