HTML5 appcache:刷新清除清单

时间:2013-11-18 16:02:00

标签: html5 html5-appcache

刷新页面后,清单将从浏览器中清除。

这是清单:

CACHE MANIFEST
# Cache manifest – version & date
# version 2.1.26
# 02.11.2013

# Cache – resources to cache with html page
CACHE:
Cache-Control: no-cache, private
css/stylesheet.css
css/jquery.handsontable.full.css
css/bootstrap.css
css/bootstrap.min.css
css/bootstrap.min.org.css
css/bootstrap-responsive.css
css/bootstrap-responsive.min.css
css/jquery.handsontable.bootstrap.css
img/logo.png
img/glyphicons-halflings.png
img/glyphicons-halflings-white.png
js/workbook.js
js/jquery.handsontable.full.js
js/jquery.js
js/jquery.chained.js
js/bootstrap.min.js
js/bootstrap.js
# Images/HTML5LogoSmall.png



# Network – files that will not be cached and will always be online
# Following resources require network connection.
# * - it’s a special flag to indicate all urls should be whitelisted (meaning all resources that are not cached will require a connection.)
NETWORK:
http://*
https://*


# Fallback – display for all uncached pages/resources [precedence below Network]
# FALLBACK:
#site/images/ images/offline.jpg
#*.html offline.html

我缺少什么?为什么表现得清楚?

更新:
1)使用chrome作为Web浏览器
2)在IIS7上托管应用程序

0 个答案:

没有答案