新足迹

 找回密码
 注册

精华好帖回顾

· 我很丑,可是我很温柔(多图) (2006-4-28) 贝贝 · 味道不错的肉酱手扯面~~ (2005-6-17) liz
· 大公司稳中求进的Manage your Manager (2013-7-27) casterchen · 103路无轨电车开往北京站 (全文完)终点站 北京站到了 (2012-4-6) lvr
Advertisement
Advertisement
查看: 1523|回复: 1

Building Offline Experiences with HTML5 AppCache and IndexedDB [复制链接]

发表于 2011-9-29 10:59 |显示全部楼层
此文章由 典 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 典 所有!转贴必须注明作者、出处和本声明,并保持内容完整
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

2012年度奖章获得者 2011年度奖章获得者

发表于 2011-9-29 11:54 |显示全部楼层

回复 典 1# 帖子

此文章由 交易人生 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 交易人生 所有!转贴必须注明作者、出处和本声明,并保持内容完整
用local cache适用于data:read,不太适合data:update。

发表回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Advertisement
Advertisement
返回顶部