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 ».

Learn More

how do I specify or move my cache directory?

  • 4 réponses
  • 4 ont ce problème
  • 239 vues
  • Dernière réponse par cor-el

more options

My Cache Directory takes up a lot of space (1.6 GB). I'd like to keep it in a directory separate from my settings so I don't back it up. How can I specify a separate directory?

My Cache Directory takes up a lot of space (1.6 GB). I'd like to keep it in a directory separate from my settings so I don't back it up. How can I specify a separate directory?

Solution choisie

Hi cvbt,

You can do this by creating a new hidden preference.

  • Type about:config into the location bar and press enter
  • Accept the warning message that appears, you will be taken to a list of preferences
  • Right-click somewhere in the list and select "New > String"
  • For the name of the preference type browser.cache.disk.parent_directory
  • For its value type the path to where you want to store the cache
  • Next locate the preference browser.cache.disk.enable, it must be set to true, if it is not, double-click on it to change its value


For more information on this see this article
Hope that helped. Please report back!

Lire cette réponse dans son contexte 👍 14

Toutes les réponses (4)

more options

Solution choisie

Hi cvbt,

You can do this by creating a new hidden preference.

  • Type about:config into the location bar and press enter
  • Accept the warning message that appears, you will be taken to a list of preferences
  • Right-click somewhere in the list and select "New > String"
  • For the name of the preference type browser.cache.disk.parent_directory
  • For its value type the path to where you want to store the cache
  • Next locate the preference browser.cache.disk.enable, it must be set to true, if it is not, double-click on it to change its value


For more information on this see this article
Hope that helped. Please report back!

more options

By default, your cache is on a different path from your main settings folder.

Main settings folder is under:

C:\Users\username\AppData\Roaming\Mozilla\Firefox\Profiles\

Cache folder is under:

C:\Users\username\AppData\Local\Mozilla\Firefox\Profiles\

(The above assumes Windows Vista or later)

Modifié le par jscher2000 - Support Volunteer

more options

Thanks alco. It created a set of directories where I specified. The old cache directory still exists and it is still very big. Any suggestions? Hmmmm; I think I need to check if this is the directory that I keep my FireFox preferences in. I have just upgraded to Win7 and reinstalled FF. This may be an inactive Cache Directory. Yup, that was it. Thanks everyone. I've set up a new clean profile and deleted the old information. It's like riding a brand new bicycle. Happy Thai New Year.

Modifié le par Geoffrey

more options

You can delete the old cache folder and then Firefox shouldn't be using it.
Make sure that the new cache folder(s) exist.