Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Turning off disk cache. How exactly does this work?

  • 4 отговора
  • 3 имат този проблем
  • 2 изгледи
  • Последен отговор от PopStarWannabe

more options

Platform: OS: Windows 8.1 Pro x64; Firefox: version 31.0; Adobe Flash: NOT installed.

I made the following modifications in the about:config page:

1) Changed "browser.cache.disk.enable" to false; 2) Added "browser.cache.memory.capacity" and set it to 202000.

I then went to YouTube to watch (with HTML5) a 2-hour long movie at HD 720p resolution. As the movie was loading into the browser, I noticed the hard drive STILL has activity (LED flicker and noises). The movie loaded only half (don't know why it stopped - maybe because the player was paused) AND THEN I went to about:cache to see if it had loaded into RAM.

Platform: OS: Windows 8.1 Pro x64; Firefox: version 31.0; Adobe Flash: NOT installed. I made the following modifications in the about:config page: 1) Changed "browser.cache.disk.enable" to false; 2) Added "browser.cache.memory.capacity" and set it to 202000. I then went to YouTube to watch (with HTML5) a 2-hour long movie at HD 720p resolution. As the movie was loading into the browser, I noticed the hard drive STILL has activity (LED flicker and noises). The movie loaded only half (don't know why it stopped - maybe because the player was paused) AND THEN I went to about:cache to see if it had loaded into RAM.

Всички отговори (4)

more options

As you can see (attachment 1), the "Memory cache device" was showing only 5,5 MB.

So how could about 1 hour of 720-pixel HD video material take up only 5,5 MB? This means (and hard disk activity confirmed this) that it was written to disk.

What's more the figure shown in Options > Advanced > Network (attachment 2) should be the same as the one shown in about:cache. It is not but in previous version (Firefox 30.0) it was.

Can anyone tell me how that exactly works?

more options

The memory cache is not used for all kinds of data, so if you disable the disk cache then Firefox won't store necessarily store data in the memory cache that was previously in the disk cache.

Videos from YouTube are likely loaded in chunks by the Flash player and not as a full video, so you may only see the last or current chunk in the memory cache (those are likely not saved to the disk cache anyway even when enabled).

more options

"if you disable the disk cache then Firefox won't store necessarily store data in the memory cache that was previously in the disk cache"

So it will store it on the disk despite the setting, right?


"Videos from YouTube are likely loaded in chunks by the Flash player"

I was just saying, I am not using Flash (not installed). I watched the videos through HTML5. But will install Flash to see what you mean.


So in my case then (disk cache disabled), the phrase "Your web content cache is currently using 0 (it always shows zero) bytes of disk space" in Options > Advanced > Network refers literally to the disk itself, hence not to RAM or RAM+Disk?

All I am trying to achieve is a minimum hard disk wear on a computer where streaming videos/audio is used A LOT.