搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

What happens when both browser.cache.disk.enable and memory.enable are set to "true"?

  • 2 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 cor-el

more options

I'd like to move my Firefox browser cache to main memory, having weighed up the benefits and drawbacks.

My question is: what happens when both the "browser.cache.disk.enable" and "browser.cache.memory.enable" configs (with the capacity config also set) are set to "true"?

Is data cached to both memory and disk? Does memory take precedence over disk in this case?

Thanks, thecosmicfrog

I'd like to move my Firefox browser cache to main memory, having weighed up the benefits and drawbacks. My question is: what happens when both the "browser.cache.disk.enable" and "browser.cache.memory.enable" configs (with the capacity config also set) are set to "true"? Is data cached to both memory and disk? Does memory take precedence over disk in this case? Thanks, thecosmicfrog

由 thecosmicfrog 於 修改

所有回覆 (2)

more options

I have both enabled, and both are used. The disk cache is over 10 times the size of the memory cache, and the number of files there is much greater.

more options

You can check the cache usage on the about:cache page.