X
點擊此處開啟此網站的行動版。

技術支援討論區

Instructions for turning off cache are wrong. Do not have network.http.use-cache

已張貼

I am trying to turn off my cache settings.

The instructiuons given tell us to set 'network.http.use-cache in about:config.

I have tried that, and that Preference name no longer exists.

How is this achieved?

I need this for Automation Testing. Currently, cached data casuses tests to fail.

I am trying to turn off my cache settings. The instructiuons given tell us to set 'network.http.use-cache in about:config. I have tried that, and that Preference name no longer exists. How is this achieved? I need this for Automation Testing. Currently, cached data casuses tests to fail.

被選擇的解決方法

Would you do this please :

Type in the address bar about:config and press Enter (promise to be careful, if asked)

Type in the search bar : browser.cache

And look for the preferences :

browser.cache.disk.enable and browser.cache.memory.enable

Change their values to false

Then close and restart Firefox.

Note : It's best not to set "browser.cache.memory.enable" to "false" when you use Private Browsing mode, as this might cause performance issues.

從原來的回覆中察看解決方案 0

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0

更多資訊

McCoy
  • Top 10 Contributor
521 個解決方法 4862 個答案

選擇的解決方法

Would you do this please :

Type in the address bar about:config and press Enter (promise to be careful, if asked)

Type in the search bar : browser.cache

And look for the preferences :

browser.cache.disk.enable and browser.cache.memory.enable

Change their values to false

Then close and restart Firefox.

Note : It's best not to set "browser.cache.memory.enable" to "false" when you use Private Browsing mode, as this might cause performance issues.

Would you do this please : Type in the address bar '''about:config''' and press Enter (promise to be careful, if asked) Type in the search bar : '''browser.cache''' And look for the preferences : '''browser.cache.disk.enable''' and '''browser.cache.memory.enable''' Change their values to '''false''' Then close and restart Firefox. Note : It's best not to set "browser.cache.memory.enable" to "false" when you use Private Browsing mode, as this might cause performance issues.
the-edmeister
  • Top 25 Contributor
  • Moderator
5395 個解決方法 40083 個答案

network.http.use-cache is a pref in older versions of Firefox. So that article is incorrect or not written for the Quantum version of Firefox 57+.

'''network.http.use-cache''' is a pref in older versions of Firefox. So that article is incorrect or not written for the Quantum version of Firefox 57+.
cor-el
  • Top 10 Contributor
  • Moderator
17408 個解決方法 157258 個答案

You should leave the memory cache enabled. Firefox needs some caches in order to work properly. If you want to disable the disk cache then you can consider to use Private Browsing mode. Otherwise you can set the disk cache to a low setting like 50 MB via browser.cache.disk.capacity. You can check the current cache usage on the about:cache page.

The network.http.use-cache pref was removed in Firefox 43 because disabling the cache broke things in Firefox.

You should leave the memory cache enabled. Firefox needs some caches in order to work properly. If you want to disable the disk cache then you can consider to use Private Browsing mode. Otherwise you can set the disk cache to a low setting like 50 MB via browser.cache.disk.capacity. You can check the current cache usage on the about:cache page. The network.http.use-cache pref was removed in Firefox 43 because disabling the cache broke things in Firefox.

由 cor-el 於 修改

Charles8 1 個解決方法 10 個答案

cor-el said

You should leave the memory cache enabled. Firefox needs some caches in order to work properly. If you want to disable the disk cache then you can consider to use Private Browsing mode. Otherwise you can set the disk cache to a low setting like 50 MB via browser.cache.disk.capacity. You can check the current cache usage on the about:cache page. The network.http.use-cache pref was removed in Firefox 43 because disabling the cache broke things in Firefox.

This is a rubbish suggestion, js etc is still cached in private browsing!!

''cor-el [[#answer-1149636|said]]'' <blockquote> You should leave the memory cache enabled. Firefox needs some caches in order to work properly. If you want to disable the disk cache then you can consider to use Private Browsing mode. Otherwise you can set the disk cache to a low setting like 50 MB via browser.cache.disk.capacity. You can check the current cache usage on the about:cache page. The network.http.use-cache pref was removed in Firefox 43 because disabling the cache broke things in Firefox. </blockquote> This is a rubbish suggestion, js etc is still cached in private browsing!!