开发者

HTML5 Offline Storage - Cache manifest networking

I am trying to write the manifest file but I am having weird problem in FF5, its caching all despite saying to don't do 开发者_Go百科so. My manifest file looks like:

CACHE MANIFEST

NETWORK:
*

any ideas?


http://www.html5rocks.com/en/tutorials/appcache/beginner/ this says if you reference the manifest file in html files as manifest attributes then it will be cached even if its not listed in manifest file.


I did a presentation about offline and local storage not long ago.

Video available here: http://www.youtube.com/watch?v=AWCk6FZMpcU

It's a bit complicated. I had to read Dive Into HTML5 multiple times and then experiment a lot to get things working.

I have an example PHP manifest "build" script here: https://github.com/JasonHanley/note5/blob/master/build.php


It seems you don't have anything set to cache, why would you need a cache manifest file if this is the case? If you are trying to cache some things I would try properly defining them under CACHE: and see if it then cache's the appropriate assets.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜