How do i get an html5 appcache to run in firefox? It works everywhere else...
I have an html5 appcache running on a website, it works fine in Safari, Opera and Chrome but it fails to work on Firefox.
I have the following in my code:
<!DOCTYPE HTML>
<html manifest="./manifest.appcache">
<head>
and the following manifest.appcache file:
CACHE MANIFEST
/
/accessibility
/anchoring
/areas-of-application-in-business
/calibrating-rep-system-preferences
/circle-of-excellence
/collapse-anchors
/contrastive-analysis-and-mapping-across
/convincers
/creating-an-air-of-authority
/decision-making
/elicitation-of-submodalities
/embedded-commands
/embedded-commands-2
/eye-patterns
/four-types-of-feedback
/home
/how-to-remember-names
/introduction-to-anchoring
/introduction-to-nlp
/key-elements-of-the-meta-model
/language-and-communication-model
/language-patterns
/leadership
/modelling
/my-action-plan
/new-behaviour-generator
/nlp-presuppositions
/outcome-thinking
/pacing-and-leading
/perceptual-positions
/predicate-phrases
/predicates
/preference-test
/presupposition-cards
/presuppositions
/privacy
/rapport
/rapport-pacing-and-leading
/representational-systems
/sensory-acuity
/strategies
/structure-for-adjusting-feedback
/structure-of-nlp-techniques
/structure-vs-content
/submodalities
/submodalities-and-strategies
/submodalities-checklist
/terms-and-conditions
/the-6-deadly-words
/the-meta-mirror
/the-power-of-presuppositions
/the-problem-frame-and-the-outcome-frame
/user-profile
/well-formed-outcomes
/what-is-nlp
/userImages/nlp_language_comm.png
/css/mobile.css
/css/style.css
I am using the code from here: http://jonathanstark.com/blog/2009/09/27/debugging-html-5-offline-application-cache/ to debug the appcache and display the output on the site.
In firefox the output from the debug code shows it downloading all the files and calling swap cache. If I then disconnect from the internet and click on a link to another page which should have downloaded I get the Unable to Connect message in Firefox, while doing the same in Safari, Opera and Chrome it works fine.
Any help and suggestions would be appreciated.
Thanks
Novain'i steve_jones20 t@
All Replies (3)
See if this helps you.
https://developer.mozilla.org/en/offline_resources_in_firefox
Hi edmeister,
Thanks for the suggestion, but I'd seen that page and tried some of the suggestions but it didn't seem to help me much.
I have tested some other examples of offline sites and got them working in firefox without any problems.
I think it could be something to do with my pages not physically existing on the server, they're generated by a CMS. I don't for example have an home.html file there is just a page created by a CMS at /home.
If I open the about:cache page and navigate list the offline cache, the pages from my manifest are listed and they have a fetch count. Only the physical files (.css, .js for example) have a data size in the list.
As it will work in other browsers (Safari, Opera and Chrome) is this a possibly a bug in firefox causing me the problems?
Thanks Steve
A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.