X
Tap here to go to the mobile version of the site.

Support Forum

Change cache default folder from SSD to HDD in Firefox 72.0.2

Posted

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

Modified by Cris86

Quote
cor-el
  • Top 10 Contributor
  • Moderator
17775 solutions 160795 answers

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 '\\'.
Was this helpful to you?
Quote

Question owner

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
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17775 solutions 160795 answers

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
Was this helpful to you?
Quote

Question owner

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

Modified by Cris86

Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17775 solutions 160795 answers

Helpful Reply

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)
Was this helpful to you? 1
Quote

Question owner

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
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.