搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 4 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 Charles8

more options

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

所有回复 (4)

more options

选择的解决方案

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.

more options

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+.

more options

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于修改

more options

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!!