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

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

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

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

Cache in ram disc does not have any temporary files

  • 5 отговора
  • 3 имат този проблем
  • 1 изглед
  • Последен отговор от cor-el

more options

I am using xubuntu and want firefox to use a ramdisk cache. My settings are:

browser.cache.disk.parent_directory - string - /media/ramdisk browser.cache.disk.enable - false browser.cache.memory.enable - true

When I restart firefox I see a new cache2 folder appear in the ramdisk (as it should). Inside that folder are two more, doomed and entries.

In the past when I used a ramdisk the 'entries' folder always contained the data for the web pages viewed. This data disappears (as it should) on reboot.

However, now, the 'entries' folder is always empty - never contains any temporary files.

As far as I can tell, firefox is not using another cache somewhere as I changed the name to .old.

Is it now normal to act this way?

I am using xubuntu and want firefox to use a ramdisk cache. My settings are: browser.cache.disk.parent_directory - string - /media/ramdisk browser.cache.disk.enable - false browser.cache.memory.enable - true When I restart firefox I see a new cache2 folder appear in the ramdisk (as it should). Inside that folder are two more, doomed and entries. In the past when I used a ramdisk the 'entries' folder always contained the data for the web pages viewed. This data disappears (as it should) on reboot. However, now, the 'entries' folder is always empty - never contains any temporary files. As far as I can tell, firefox is not using another cache somewhere as I changed the name to .old. Is it now normal to act this way?

Променено на от makem1

Избрано решение

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

more options

You need to enable the disk cache and set browser.cache.disk.enable = true

more options

But I am not using the disk. I am using ram so why enable disk?

Everywhere I read disk enable = false

about:cache shows:

memory Number of entries: 1357 Maximum storage size: 32768 KiB Storage in use: 20006 KiB Storage disk location: none, only stored in memory List Cache Entries disk Number of entries: 1357 Maximum storage size: 32768 KiB Storage in use: 20006 KiB Storage disk location: none, only stored in memory List Cache Entries

more options

The disk cache is the disk cache whether you have it on the hard drive or as a RAM disk in memory. Firefox already uses a memory cache for data kept in memory and you can't use a second cache without enabling the disk cache by setting browser.cache.disk.enable = true You need to set browser.cache.disk.parent_directory to the location (path) to the RAM disk and this cache location is only used when the disk cache is enabled.

more options

Thank you. You know better than everything I have read :)

more options

Избрано решение

You're welcome.