We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Can't move cache

  • 6 respostas
  • 2 têm este problema
  • 2 visualizações
  • Última resposta por 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.

Todas as respostas (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)