AppCache misbehaving in Safari, Firefox

I'm having some major trouble with AppCache.

I've got a single page application (with real URLs using using Page.js and loading HTML from the server on page load, (dispatch: false)

It's running on Bode.js, in particular it's a Sails.js app.

I've got a manifest file in the HTML tag of the layout. The manifest file has been tested repeatedly and everything checks out. It works flawlessly in Chrome. Even in Safari, it shows up in the inspector correctly and has a list of the assets listed in the file. So far so good.

However, when offline, Safari fails to load anything but the HTML document itself. So I'm basically seeing just an unstyled list of headers. The console shows a bunch of 404s. So even though it's reading the manifest file correctly, it's not caching anything.

Firefox doesn't even detect the manifest file and just seems to working like it didn't exist.

Safari on iOS7 is behaving like Firefox and not showing anything, when offline.

Anyone with any bright ideas why this may be happening?

Answers:

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.