欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

在Firefox中关闭缓存

程序员文章站 2022-03-05 23:25:25
...
1、在地址栏输入:about:config
在过滤器中输入:network.http.use-cache
解释:When a page is loaded, it can be cached so it doesn’t need to be downloaded to be redisplayed. This preference controls whether to cache files retrieved by HTTP or HTTPS either in memory or on disk.
设置为:false

2、在地址栏输入:about:config
然后在过滤器中输入:browser.cache.disk.enable
解释:When a page is loaded, it can be cached so it doesn’t need to be downloaded to be redisplayed. For e-mail and news, messages and attachments are cached as well. This preference controls whether to use the hard drive for caching purposes. browser.cache.disk.capacity controls the maximum amount of disk space to use.
设置为false

3、以及另一个属性:browser.cache.memory.enable
network.http.use-cache 指设置不缓存。
browser.cache.disk.enable/browser.cache.memory.enable 指上面的属性打开(true)后,设置保存在disk还是 memory。

只是network.http.use-cache是前提。

我把三个全部关闭(设置成false),终于成功了。
相关标签: firefox