X
點擊此處開啟此網站的行動版。

技術支援討論區

Change cache default folder from SSD to HDD in Firefox 72.0.2

已張貼

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 於 修改

引用
cor-el
  • Top 10 Contributor
  • Moderator
17773 個解決方法 160749 個答案

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 '\\'.

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 '\\'.
這篇文章有幫助嗎?
引用

提出問題者

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

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
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17773 個解決方法 160749 個答案

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).

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). *https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
這篇文章有幫助嗎?
引用

提出問題者

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 :)

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 於 修改

這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17773 個解決方法 160749 個答案

有幫助的回覆

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)
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. *https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-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<br>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<br>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)
這篇文章有幫助嗎? 1
引用

提出問題者

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

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
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題