You are here

Could we consider moving the default cache to the Temp directory?

5 posts / 0 new
Last post
ki4jgt
Offline
Last seen: 5 years 10 months ago
Joined: 2018-03-03 18:07
Could we consider moving the default cache to the Temp directory?

I don't know where the current write directory for FFP is but I'm assuming it's on my flash drive as whenever I visit YouTube, the light on my drive becomes a morse code beacon and doesn't stop flashing at all. With the limited number of read/writes a USB drive has, would it not be better to move the browser cache to the local hard drive by default on FFP?

John T. Haller
John T. Haller's picture
Online
Last seen: 57 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Disabled By Default

The Firefox Portable cache is disabled by default for this reason. Did you manually enable it?

Sometimes, the impossible can become possible, if you're awesome!

ki4jgt
Offline
Last seen: 5 years 10 months ago
Joined: 2018-03-03 18:07
No, the enable setting was

No, the enable setting was set to true already for me.

John T. Haller
John T. Haller's picture
Online
Last seen: 57 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Correct, Quantum

I checked and you are correct. It looks like things changed in Quantum and the browser.cache.disk.capacity setting (which we have set to zero by default) is no longer respected. Plus they removed the ability to manage cache via the GUI (which is dumb). I'll need to rethink how we handle this. For now, you can set it to zero via about:config if you'd like. The whole reason we set it to zero rather than store it in TEMP and wipe it on exit is because it's mainly used between sessions - RAM cache is mostly used during a typical browsing session - so it would serve no purpose.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Online
Last seen: 57 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Switching Default Disabling

Ok, I did some testing and it does indeed appear that Firefox is now ignoring browser.cache.disk.capacity set to 0. I'm thinking about setting browser.cache.disk.enable to false and replacing the browser.cache.disk.capacity set to 0 setting to browser.cache.disk.enable set to false for existing users. The only thing I need to check is if this impacts site data being saved. The documentation for these settings is now wrong online, so we need to figure it out. The big downside to all of this is that there is no longer any GUI to manage your cache in Firefox, which is just crazy.

UPDATE: Just tested and website storage is working as expected even with disk cache disabled.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments