Овај сајт ће имати ограничену функционалност док га будемо ажурирали у циљу побољшања вашег искуства. Ако неки чланак не реши ваш проблем и желите да поставите питање, на располагању ће вам бити наше заједнице подршке @FirefoxSupport на Twitter-у и /r/firefox на Reddit-у.

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

How do i get an html5 appcache to run in firefox? It works everywhere else...

  • 3 одговорa
  • 1 има овај проблем
  • 574 прегледа
  • Последњи одговор послао cor-el

more options

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

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: &lt;!DOCTYPE HTML&gt;<br/> &lt;html manifest="./manifest.appcache"&gt;<br/> &lt;head&gt;<br/> and the following manifest.appcache file: CACHE MANIFEST<br/> /<br/> /accessibility<br/> /anchoring<br/> /areas-of-application-in-business<br/> /calibrating-rep-system-preferences<br/> /circle-of-excellence<br/> /collapse-anchors<br/> /contrastive-analysis-and-mapping-across<br/> /convincers<br/> /creating-an-air-of-authority<br/> /decision-making<br/> /elicitation-of-submodalities<br/> /embedded-commands<br/> /embedded-commands-2<br/> /eye-patterns<br/> /four-types-of-feedback<br/> /home<br/> /how-to-remember-names<br/> /introduction-to-anchoring<br/> /introduction-to-nlp<br/> /key-elements-of-the-meta-model<br/> /language-and-communication-model<br/> /language-patterns<br/> /leadership<br/> /modelling<br/> /my-action-plan<br/> /new-behaviour-generator<br/> /nlp-presuppositions<br/> /outcome-thinking<br/> /pacing-and-leading<br/> /perceptual-positions<br/> /predicate-phrases<br/> /predicates<br/> /preference-test<br/> /presupposition-cards<br/> /presuppositions<br/> /privacy<br/> /rapport<br/> /rapport-pacing-and-leading<br/> /representational-systems<br/> /sensory-acuity<br/> /strategies<br/> /structure-for-adjusting-feedback<br/> /structure-of-nlp-techniques<br/> /structure-vs-content<br/> /submodalities<br/> /submodalities-and-strategies<br/> /submodalities-checklist<br/> /terms-and-conditions<br/> /the-6-deadly-words<br/> /the-meta-mirror<br/> /the-power-of-presuppositions<br/> /the-problem-frame-and-the-outcome-frame<br/> /user-profile<br/> /well-formed-outcomes<br/> /what-is-nlp<br/> /userImages/nlp_language_comm.png<br/> /css/mobile.css<br/> /css/style.css<br/> <br/> <br/> 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

Измењено од стране steve_jones20

Сви одговори (3)

more options
more options

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

more options

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.

See http://forums.mozillazine.org/viewforum.php?f=25