如何关闭Firefox的缓存? [英] How to turn off caching on Firefox?
本文介绍了如何关闭Firefox的缓存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有某种设置(about:config)为JavaScript文件彻底关闭缓存?或者,如果没有,所有的文件?
解决方案
在Firefox地址栏中输入about:config p>
browser.cache.disk.enable = false
browser.cache.memory.enable = false
<如果在本地进行开发,或者使用HTML5的新清单属性,则可能还需要在about:config - 中设置以下内容:code $>
$ b>
pre $ browser.cache.offline.enable = false
During development I have to "clear cache" in Firefox all the time in order to make it use the latest version of JavaScript files.
Is there some kind of setting (about:config) to turn off caching completely for JavaScript files? Or, if not, for all files?
解决方案
Enter "about:config" into the Firefox address bar and set:
browser.cache.disk.enable = false
browser.cache.memory.enable = false
If developing locally, or using HTML5's new manifest attribute you may have to also set the following in about:config -
browser.cache.offline.enable = false
这篇关于如何关闭Firefox的缓存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文