This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do you CHANGE the location (away from Drive C) where Firefox stores temporary files?

  • 3 ردود
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه cor-el

more options

I know where Firefox stores temporary files. I want to CHANGE this location away from Drive C to decrease writes to an SSD. Thank you.

I know where Firefox stores temporary files. I want to CHANGE this location away from Drive C to decrease writes to an SSD. Thank you.

الحل المُختار

Changing the location of firefox temp files is done by doing these steps :

->>>Open firefox

2) type about:config in the address bar 3) Promise that you'll be careful

4) Right click anywhere in the browser and goto 'New' and select 'New String' from the Menu.

5) Enter browser.cache.disk.parent_directory as the preference name

6) Enter the path to the new cache location, example: d:\firefox_temp.


NOTE: You can also create another string (in addition) called browser.cache.offline.parent_directory

Enter the path to the new cache location, example: d:\firefox_temp.

Read this answer in context 👍 0

All Replies (3)

more options

الحل المُختار

Changing the location of firefox temp files is done by doing these steps :

->>>Open firefox

2) type about:config in the address bar 3) Promise that you'll be careful

4) Right click anywhere in the browser and goto 'New' and select 'New String' from the Menu.

5) Enter browser.cache.disk.parent_directory as the preference name

6) Enter the path to the new cache location, example: d:\firefox_temp.


NOTE: You can also create another string (in addition) called browser.cache.offline.parent_directory

Enter the path to the new cache location, example: d:\firefox_temp.

more options

Thank you.

This function may be one of the few things that IE does better than Firefox. IE lets you change the temporary file location in Tools - Internet options - Settings. Firefox developers should make this task easier and put the instructions in the Help file where they can be easily found.

Since I use an SSD for Drive C, I have learned that any file(s) that are frequently written to should be moved elsewhere to a conventional HDD.

more options

You can also use the Profile Manager to create a profile folder on that other drive by clicking the "Choose Folder" button to specify a specific folder. Be sure to specify a name and empty folder and not a folder that already has other files.

Modified by cor-el