AppCache mistakenly works in Safari, firefox

So, I have some serious problems with appcache.

I have a one-page application (with real URLs using page.js and loading html from the server when the page loads, (sending: false)

It works on node.js, in particular its sails.js application.

I have a manifest file in the html tag of the layout. The manifest file has been tested repeatedly and everything is checked. It works flawlessly in chrome. Even in Safari, it displays correctly in the inspector and has a list of assets listed in the file. So far so good.

However, in offline mode, Safari does not load anything except the html document itself. Thus, I basically only see an unused list of headers. The console shows a bunch of 404. Therefore, even if it reads the manifest file correctly, it caches nothing.

Firefox doesn't even detect the manifest file and seems to work as if it doesn't exist.

Safari on iOS7 behaves like firefox and doesn't show anything when disabled.

Anyone with bright ideas why this could happen ???

+6
javascript html5-appcache
Dec 18 '13 at 10:35
source share

No one has answered this question yet.

See similar questions:

64
Safari 7 application cache not working

or similar:

1001
Is Safari iOS 6 caching $ .ajax results?
702
How to detect Safari, Chrome, IE, Firefox, and Opera?
410
Detect when browser downloads files
64
Safari 7 application cache not working
2
Appcache Box giving 404 in Firefox Validation Tool
one
Ctrl + F5 breaks appcache in Firefox (35)
0
Codeigniter and appcache: failed to parse manifest
0
appcache used as text / plain only works in chrome?
0
How to set the correct cache headers?
0
HTML5 AppCache: browser update not working



All Articles