新足迹

 找回密码
 注册

精华好帖回顾

· 北美行:北美生活一瞥 (2006-9-10) SuiYi · 一个善意的提醒:猫猫不能太胖了————兼回忆我们家聋子 (2007-7-27) hysteria
· 参加活动 - 布老虎的新足迹 (2011-5-28) bulaohu · 高中学历,38岁重返学校,40岁遇到疫情,离婚,41岁找到工作,和大家分享一下一个中年人求学求职的艰辛历程 (2021-5-28) babaozhouxu
Advertisement
Advertisement
查看: 1449|回复: 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
返回顶部