搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Change cache default folder from SSD to HDD in Firefox 72.0.2

  • 6 回覆
  • 3 有這個問題
  • 3 次檢視
  • 最近回覆由 Cris86

more options

I've tried old trick via about:config like i did months ago (years ago with latest reset of my pc) but is not working.

this one in order to be precise -> https://support.mozilla.org/it/questions/768867

I can't find a solution to move the cache of Firefox from the SSD to my HDD. Can anyone help me with another solution? Thanks in advance Cris

I've tried old trick via about:config like i did months ago (years ago with latest reset of my pc) but is not working. this one in order to be precise -> https://support.mozilla.org/it/questions/768867 I can't find a solution to move the cache of Firefox from the SSD to my HDD. Can anyone help me with another solution? Thanks in advance Cris

由 Cris86 於 修改

所有回覆 (6)

more options

In what location do you want to create the disk cache ?

Using the browser.cache.disk.parent_directory pref should still work. There is a policy available, but this appears to be broken at this moment (bug 1609225).

Creating the pref via about:config is easiest because on Windows you would need to escape a backslash in prefs.js and user.js as '\\'.

more options

i want to create on my local disk D: where i have the temp cache till this morning before the reset of my pc. I've used the browser.cache.disk.parent_directory the first time i moved it, but at the moment i can't do it, i can't edit or create a string as the solution explain.

So i'll have to wait till they fixed it i presume right? Hope soon because i don't want to eat my SSD with cache files

more options

You can try to create a D:\firefox folder and set the pref on about:config to this path. Then close Firefox and remove the previously used profile folder in "AppData\Local".

Maybe you should use the Profile Manager to create a new profile on the D drive by using Choose folder. Then you have the full profile folder in one place with only access to the SSD drive for profiles.ini and installs.ini. Best in this case is also to create a new profile folder on the D-drive (D:\Firefox\release.default-release).

more options

Basically moving all the mozilla profile on the D: folder instead of AppData/Local as default i will move all the settings included the cache right?

I will check tomorrow because right know i'm too tired to try something that looks easy but that i never ever tried, due to the fact i just restored everything i don't want to do something wrong. Thanks for it :)

由 Cris86 於 修改

more options

Best is first to use the Profile Manager to create a new profile on the D-drive and ensure that this work properly. Then you can transfer data from your current profile to the new profile.


You can copy files like these with Firefox closed to the current profile folder to recover specific data.

  • bookmarks and history: places.sqlite
  • bookmark backups: compressed .jsonlz4 JSON backups in the bookmarkbackups folder
  • cookies.sqlite for the Cookies
  • formhistory.sqlite for saved autocomplete Form Data
  • logins.json (passwords) and key4.db (58+) or key3.db (57 and older) (decryption key) for Passwords saved in the Password Manager
    if you only have key3.db then make sure to remove an existing key4.db
  • cert9.db (58+) or cert8.db (57 and older) for (intermediate) certificates stored in the Certificate Manager
    if you only have cert8.db then make sure to remove an existing cert9.db
  • persdict.dat for words you added to the spelling checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other website specific data (Site Preferences)
  • sessionstore.jsonlz4 for open tabs and pinned tabs (see also the sessionstore-backups folder)
more options

Thank you, i did that and it worked. I usually delete manually the content of the cache folder, right now the only folder i have to empty is cache2 right?

Another thing. I also use thunderbird, is possible to move that profile too on another HDD or it works differently?

Thanks in advance Cris