Advertisement
Advertisement

新足迹

 找回密码
 注册
新足迹 › 门户 › AI 相关› 查看内容

Building Offline Experiences with HTML5 AppCache and IndexedDB

2011-9-29 10:59| 发布者: 典 | 查看: 1638| 原文链接

http://blogs.msdn.com/b/ie/archive/2011/09/27/building-offline-experiences-with-html5-appcache-and-indexeddb.aspx


Users expect their Web sites and apps to work well even when the network isn't available. With data increasingly stored in the cloud, developers want to enable fluid experiences that allow access to data when there is no connectivity; when devices are disconnected from the network or when they encounter dead spots in coverage.
In this post, we show how to create well-behaved offline sites and apps using the following HTML5 features:
  • AppCache to store file resources locally and access them offline as URLs
  • IndexedDB to store structured data locally so you can access and query it
  • DOM Storage to store small amounts of text information locally
  • Offline events to detect if you’re connected to the network
Advertisement
Advertisement


Advertisement
Advertisement
返回顶部