搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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于修改

被采纳的解决方案

You're welcome.

定位到答案原位置 👍 2

所有回复 (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.