Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Cache in ram disc does not have any temporary files

  • 5 réponses
  • 3 ont ce problème
  • 1 vue
  • Dernière réponse par 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?

Modifié le par makem1

Solution choisie

You're welcome.

Lire cette réponse dans son contexte 👍 2

Toutes les réponses (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

Solution choisie

You're welcome.