我在一个网站上使用了html5的应用程序缓存,在Safari、Opera和Chrome上都可以正常工作,但在Firefox上无法正常工作。
以下是我的代码:
<!DOCTYPE HTML>
<html manifest="./manifest.appcache">
<head>
以及以下的manifest.appcache文件:
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
# Hash: a4e8f4f6a4dd45dd3e8acdaae8546a0a
我正在使用这里的代码:http://jonathanstark.com/blog/2009/09/27/debugging-html-5-offline-application-cache/ 来调试应用程序缓存并在网站上显示输出。
在 Firefox 中,调试代码的输出显示它正在下载所有文件并调用交换缓存。如果我随后断开与互联网的连接并点击链接到另一个页面,该页面应该已经下载,那么在 Firefox 中会显示“无法连接”消息,而在 Safari、Opera 和 Chrome 中则正常工作。
欢迎提供任何帮助和建议。
谢谢 Steve