Cache in ram disc does not have any temporary files
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?
Bewurke troch makem1 op
Keazen oplossing
You're welcome.
Dit antwurd yn kontekst lêze 👍 2Alle antwurden (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 :)
Keazen oplossing
You're welcome.