为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Changing default storage location - how?

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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

所有回复 (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.