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!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cache in ram disc does not have any temporary files

  • 5 பதிலளிப்புகள்
  • 3 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by cor-el

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 மூலமாக திருத்தப்பட்டது

தீர்வு தேர்ந்தெடுக்கப்பட்டது

You're welcome.

Read this answer in context 👍 2

All Replies (5)

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

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

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.

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

தீர்வு தேர்ந்தெடுக்கப்பட்டது

You're welcome.