我的缓存清单文件有问题。这就是它看起来的样子(有些文件已从列表中删除,以使其更短):
CACHE MANIFEST
#r8
CACHE:
fonts/glyphicons-halflings-regular.svg
fonts/glyphicons-halflings-regular.eot
fonts/glyphicons-halflings-regular.ttf
fonts/glyphicons-halflings-regular.woff
css/bootstrap.min.css
css/receipt.min.css
css/smoothness/jquery-ui-1.10.3.custom.css
NETWORK:
index.php
*
http://*我在index.php缓存方面遇到了一些问题,所以我清除了缓存,打开了Google中的控制台,然后重新加载页面。
Application Cache Progress event (12 of 13) http://www.magnusburton.com/stackd/index.php:1
Application Cache Progress event (13 of 13)
Application Cache UpdateReady event据我所见,即使在网络部分,Chrome仍然在缓存index.php。
如何防止任何浏览器缓存此文件?
发布于 2013-12-19 12:46:37
您不能-引用appcache清单的页面将始终被缓存,即使您指定它不被缓存。
见绿色部分6.7.3.3,略低于32。这里:http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html#parsing-cache-manifests
https://stackoverflow.com/questions/20476822
复制相似问题