Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Does clearing cache in Preferences clear all caches?

  • 2 个回答
  • 18 人有此问题
  • 2 次查看
  • 最后回复者为 Foxy Der Fox

more options

I assume it is likely, but I just want to check, when I clear the cache as instructed here (https://support.mozilla.org/en-US/kb/how-clear-firefox-cache) with the "Clear Now" button, does this empty all caches? So including the memory cache (which would normally be cleared on the closing of Firefox) and not just the persistent one stored on disk? I have Firefox 47 installed.

I ask this because sometimes I go somewhere where I suspect there is a malicious image either with a script or exploiting some vulnerability and I would just like to know if there is an easy way without having to restart Firefox to become 'safe' (as much as I can be) again. If this button does clear all caches and I use it after seeing a malicious image, will it suffice or should I still restart Firefox?

I assume it is likely, but I just want to check, when I clear the cache as instructed here (https://support.mozilla.org/en-US/kb/how-clear-firefox-cache) with the "Clear Now" button, does this empty all caches? So including the memory cache (which would normally be cleared on the closing of Firefox) and not just the persistent one stored on disk? I have Firefox 47 installed. I ask this because sometimes I go somewhere where I suspect there is a malicious image either with a script or exploiting some vulnerability and I would just like to know if there is an easy way without having to restart Firefox to become 'safe' (as much as I can be) again. If this button does clear all caches and I use it after seeing a malicious image, will it suffice or should I still restart Firefox?

被采纳的解决方案

Yes. Clicking the Clear Now button should clear all cache though this can take unknown time because this is done in the background in another processor thread. You may have to reload the page a few times to check the progress.

You can see the current cache use on the about:cache page.

定位到答案原位置 👍 5

所有回复 (2)

more options

选择的解决方案

Yes. Clicking the Clear Now button should clear all cache though this can take unknown time because this is done in the background in another processor thread. You may have to reload the page a few times to check the progress.

You can see the current cache use on the about:cache page.

more options

I checked the cache info using about:cache and this cache2 is not EVER cleared no mater how many times I click the Clear Now button and/or refresh and click again nor how long I wait for it to clear:

Number of entries: 12 Maximum storage size: 358400 KiB Storage in use: 196 KiB Storage disk location: C:\Users\Ron\AppData\Local\Mozilla\Firefox\Profiles\5gv0c9f5.default\cache2

196 KB is exactly the amount that does not clear. I can delete cache2 and the problem is gone until cache2 is rebuilt and entries are entered.

Any way this can be stopped from rebuilding cache2 and/or have the Clear Now button actually clears ALL caches?

Update: If I check the box for In Browser Element on the about:cache page, click Update button, I get:

Number of entries: 0 Maximum storage size: 358400 KiB Storage in use: 0 KiB Storage disk location: C:\Users\Ron\AppData\Local\Mozilla\Firefox\Profiles\5gv0c9f5.default\cache2

I can go back to Options/Advanced/Network again, refresh as many times as I want, click Clear Now button and it still resets to 196 KB! Is cache2 tied to other option settings like those options under Security and/or Privacy?

由Foxy Der Fox于修改