Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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.

Search Support

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

Changing default storage location - how?

  • 2 replies
  • 1 has this problem
  • 14 views
  • Last reply by Valso

more options

Is there a way to change the location of the default storage directory? I'm talking about ~/.mozilla/firefox/tjdaag57.default-release/storage/default which gradually fills with files from all the websites I've visited. That directory slowly increases in size and I don't want that, so I'm looking for a way to change the location where these files go.

https://i.imgur.com/EDlVyOA.png

Is there a way to change the location of the default storage directory? I'm talking about ~/.mozilla/firefox/tjdaag57.default-release/storage/default which gradually fills with files from all the websites I've visited. That directory slowly increases in size and I don't want that, so I'm looking for a way to change the location where these files go. https://i.imgur.com/EDlVyOA.png

All Replies (2)

more options

Best would be to move the entire profile folder to that other drive (i.e. use the Profile Manager to create a new profile and transfer personal data to the new profile). On Linux you might be able to create a symlink, but storage is very complicated and easily gets broken so best is to keep the profile in one location. Note that if you create a new profile this way that the disk cache and other temporary data stored in the secondary location will be stored in the same location.

You need to create a new folder on the other drive to be used for the profile that is exclusively used for the profile (no other files present) beforehand and use the "Choose folder" button to select this folder.

more options

Moving the profile directory is pointless bc I want the profile directory to be without these storage files when I create a backup of it. For the moment I found a way to achieve that with the command rm -rfv ~/.mozilla/firefox/[profilename].default-release/storage/default/https* but hopefully some day the developers will make a way to change the location of the storage. It would be better if they moved it to ~/.cache.