顯示問題標籤 顯示所有問題
  • 封存

Prevent Firefox from Clearing the Cache Automatically

Hi all, I'm a photographer and I've been using Firefox as my default/go-to browser for dealing with images-related things like uploading and downloading to server, access… (閱讀更多)

Hi all,

I'm a photographer and I've been using Firefox as my default/go-to browser for dealing with images-related things like uploading and downloading to server, accessing and opening photography-related sites and accounts such as Flickr Pro. I'd like to know if any of you can help me with my problem with cache.

So I've noticed that when using Firefox, oftentimes the cache is being cleared/purged automatically, for reasons I don't know yet. I'd like to know how I can keep the cache, or in other words, prevent Firefox from clearing the cache for any reason whatsoever. I really need the cache and I don't mind keeping a large or even massive cache. I'm browsing the same sites over and over again and I'd like to keep the cache instead of having to download it again everytime I browse the sites with Firefox.

The problem is I've tried things like disabling smart cache size and increasing my disk cache to 4 GB to no avail. Firefox always clears the cache automatically after certain period of time or under certain or specific condition(s). The thing is I don't know how to stop Firefox from tampering with my cache. None of my add-ons is actually tampering with the cache, nevermind clearing it.


Several settings that I've changed/modified manually:

・ browser.cache.auto_delete_cache_version: set to -1.

・ browser.cache.check_doc_frequency: set to 2.

・ browser.cache.disk.capacity: set to 4096000. I read somewhere that a Firefox users and a fellow photographer managed to increase the size to 16 GB with his Firefox 69 and is able to keep his cache until he clears it manually, but I failed to repro his steps since my Firefox always reverted back to 380 MB or something whenever I did that. He's probably using custom userChrome and/or userContent css.

All these settings are set to false: ・ browser.cache.disk.smart_size.enabled ・ browser.cache.disk.smart_size.first_run ・ browser.cache.disk.smart_size.use_old_max

・ browser.cache.memory.capacity: set to 2048000.

・ media.cache_size: sometimes I set this to 4096000 to see if it helps with anything, but most of the time it is set to its default value (unchanged).

・ browser.tabs.remote.warmup.enabled: set to false. I might accidentally added this to my 56.0.2 (and set it to false) since I don't remember tab warming being in pre-Quantum, but my 69.0.2 has this and I set it to false. There is also a thing with mouse cursor hovering over a tab making it reload the tab, but only after Firefox clear my cache.


If any of you curious about why I'm using 56.0.2, it's because I'm still using Multi Paste and Go add-on, which is a Godsend to me. It's really helpful with accessing or opening several links or images at once, oftentimes more than 30-40 images, and unfortunately the add-on is not made compatible with 69.0.2. I'm a very careful person when it comes to security and I never opened any sites with questionable or suspicious quality, just things related to work (photography) and bills (So-Net Nuro, Softbank, etc.) so please don't worry about my browsing habits or security risks. I also always disable Flash plugin.

At this point, I really have no idea how to prevent Firefox from clearing my cache. Sometimes Firefox clears my cache when I am still browsing, sometimes when I leave it idle. Sometimes I can reach over 1 GB of cache size before Firefox clears it, sometimes Firefox clears the cache when the size is still about 100-200 MB.

I always perform system maintenance manually (from updating OS to installing drivers, from setting up Adobe Photoshop and Lightroom to making backups) so I'd rather clearing my cache manually instead of letting Firefox do that for me.

Can any of you help me with my problem with cache?

I appreciate and thank for the help, advice, suggestion and assistance you could provide. I don't mind using custom userChrome or userContent as long as you don't mind guiding me with it (I never used it before).

I'm looking forward to get your help and feedback. Thank you very much.


Jun T.

p.s. while I can read English, I'm Japanese and I can't speak or write English fluently like a native speaker, so please forgive me if there's any typo or grammatical error in my explanation.

Asked by Jun 7 個月前

Last reply by Phil B. 6 個月前

  • 封存

When I ran a security scan using Windows Defender, it includes that some files in my Cache2 entries folder are suspicious. Could these be viruses or spyware?

When I ran a security scan using Windows Defender, it says that three files in my Cache2 entries folder are suspicious and should be sent to Microsoft for further analysi… (閱讀更多)

When I ran a security scan using Windows Defender, it says that three files in my Cache2 entries folder are suspicious and should be sent to Microsoft for further analysis. I am wondering if I should be concerned about this. Could these files be malware, spyware, or viruses? I will clear cache, but just want to make sure if the security of my system has been compromised. Thanks!

Asked by TienV 4 年前

Last reply by James 4 年前