新足迹

 找回密码
 注册

精华好帖回顾

· 〖毛家每日私房菜〗 No.62→ 正宗东北酸菜川白肉!!(最有东北特色的代表菜) (2006-6-3) powermao · 参加活动 - 布老虎的新足迹 (2011-5-28) bulaohu
· 学习投资之翻译作:房产投资的尽职调查 (2007-12-24) Poweregg · 懒人挖池塘,达到自然生态平衡的经验和教训,大量图片,全文编辑到一楼了 (2013-9-19) 追风侠
Advertisement
Advertisement
查看: 1448|回复: 1

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

发表于 2011-9-29 11: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 12:54 |显示全部楼层

回复 典 1# 帖子

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

发表回复

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

本版积分规则

Advertisement
Advertisement
返回顶部