A few words of thanks would be greatly appreciated.

Firefox - How to change the location of the temporary files folder

Firefox - How to change the location of the temporary files folder

Changing the location of Firefox's temporary files folder can be useful when your PC is equipped with a small SSD (60GB). Moving the temporary folder to another drive will help to prevent frequent writing on the SSD.

Change the location of the temporary files folder

Create a folder on the drive you want to use and name it as: Firefox_temp
  • Open Firefox.
  • Type the following in the address bar: about:config
  • Press enter to confirm
  • Search for the following entry: browser.cache.disk.parent_directory
  • If you can't find this entry, create it:
  • Name it as: browser.cache.disk.parent_directory
  • Right-click > New > String
  • A window opens, type the following:
    • H:\\Firefox_temp\\
  • Where H is the drive containing the new temporary folder.
  • Close all windows and restart the browser.
  • Clean your PC using CCleaner or Wise Disk cleaner.
  • Given that the temporary files are now stored on another drive, some softwares won't be able to clear them.
  • You can manually clear the temp folder by going to H:\\Firefox_temp\\

Optimiser un SSD
Réinitialiser Firefox
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team

Original article published by . Translated by deri58. Latest update on by deri58.

This document, titled "Firefox - How to change the location of the temporary files folder," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).