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

Can't move cache

  • 6
  • 2
  • 2 views
  • Nzaghachi ikpeazụ nke cor-el

more options

I'm trying to move my FF cache to a new HDD but with no luck. I've seen a few threads on this and have tried (1) updating "about:config" and (2) adding a "user.js" file to "C:\Users\Administrator\AppData\Roaming\Mozilla\Firefox\Profiles". The entry I've created is "user_pref("browser.cache.disk.parent_directory","D:\\Cache\\Administrator\\Firefox\\");" (but with single instead of double slash in the about:config attempt). Nothing works and cache stubbornly remains in its original location.

Any ideas gratefully received.

I'm trying to move my FF cache to a new HDD but with no luck. I've seen a few threads on this and have tried (1) updating "about:config" and (2) adding a "user.js" file to "C:\Users\Administrator\AppData\Roaming\Mozilla\Firefox\Profiles". The entry I've created is "user_pref("browser.cache.disk.parent_directory","D:\\Cache\\Administrator\\Firefox\\");" (but with single instead of double slash in the about:config attempt). Nothing works and cache stubbornly remains in its original location. Any ideas gratefully received.

All Replies (6)

more options

Did you create the D:/Cache/Administrator/Firefox/ folder yourself?

Firefox doesn't create that folder itself. That folder has to be there in order for Firefox to use it.

more options

Hi, yes, I created the folder first.

more options

You're not using the leading and trailing quotation marks for that pref as you posted, are you??

"user_pref("browser.cache.disk.parent_directory","D:\\Cache\\Administrator\\Firefox\\");"

Also - C:\Users\Administrator\AppData\Roaming\Mozilla\Firefox\Profiles - did you put the user.js file there? Or in the actual Profile folder, where it belongs?

This extension - ChromEdit Plus - makes it a lot easier to work with user files from within Firefox - not need to "tour" the Windows file system looking for the correct folder to use.

more options

Hi, without the leading/trailing quotes.

Looks like it might be a peculiarity of the Administrator account, I've just tried it on a standard user account and it works OK.

Thanks.

more options

Sorry, that I wouldn't know about. My Windows Admin account is rarely used, and basically just used to set OS privileges for the other user accounts or for program updates / installation for the few programs that need Admin privileges for such. The last time I switched to the Admin user account and used Firefox, it updated 5 versions to the current version as soon as I opened Firefox - so it was like 6 months since Firefox was used there.

more options

Did you try to delete the old cache folder to make sure that Firefox can't use it anymore?

Make sure that the user.js file is in the correct profile folder location and you should see the pref(s) on the about:config page on the next start of Firefox

(on about:config you need to use single backslashes and in user.js double backslashes)