"Clear Cache on Exit" interface pref should be renamed/moved

UNCONFIRMED
Unassigned

Status

()

Firefox
Menus
UNCONFIRMED
4 years ago
4 years ago

People

(Reporter: marnick.leau, Unassigned)

Tracking

23 Branch
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130730113002

Steps to reproduce:

Enabling the option to "clear the web cache on exit" doesn't actually do that , but instead just disables the cache altogether.


Actual results:

Apparently, this is done on purpose to protect Firefox from the complaints of idiots who would blame Firefox for hanging on exit while it clears the cache as instructed by the user. There is apparently also no intention to change this behavior.


Expected results:

If that is the case and this behavior is to be kept, then I feel it would only be correct to not label the option in the interface as "Options/Privacy/Clear history when Firefox closes/Cache" but as "Options/Privacy/Disable disk web cache".

The way it is now, with having to find out by chance that FF is not doing what the config interface says it will do, simply feels like being lied to for no reason. The cache is a source of concern regarding privacy for most users and regarding performance and system config for advanced users. There is no need to mislabel the pref and make it look like it's something else than what it actually is, especially if this is a Mozilla program.
(Reporter)

Updated

4 years ago
Component: Untriaged → Menus

Comment 1

4 years ago
I'm unable to reproduce this

when privacy setting is set to remember history the clear web cache content is visible and shows how much in kb\mb the cached content is.

when you set clear cache on exit it disables the text that shows the amount of used disk space by cache web content, But the values are still there the clean cache now button still works and when firefox closes it clears the cached web content.

my guess is this is by design but its working 100% 


Steps to verify

set privacy option to remember history save close browser, open browser visit a few sites then check the cached content is visible and showing value. now set privacy to custom settings and select clear cache on exit, save close browser.

open browser change privacy setting back to remember history and look at the value shown under network cached web content.

I hope this helps.


Maybe a change in the information for exactly how this feature works might help ?
(Reporter)

Comment 2

4 years ago
(In reply to Toady from comment #1)
> I'm unable to reproduce this
> 
> when privacy setting is set to remember history the clear web cache content
> is visible and shows how much in kb\mb the cached content is.
> 
> when you set clear cache on exit it disables the text that shows the amount
> of used disk space by cache web content, But the values are still there the
> clean cache now button still works and when firefox closes it clears the
> cached web content.
> 
> my guess is this is by design but its working 100% 
> 
> 
> Steps to verify
> 
> set privacy option to remember history save close browser, open browser
> visit a few sites then check the cached content is visible and showing
> value. now set privacy to custom settings and select clear cache on exit,
> save close browser.
> 
> open browser change privacy setting back to remember history and look at the
> value shown under network cached web content.
> 
> I hope this helps.
> 
> 
> Maybe a change in the information for exactly how this feature works might
> help ?

Are you sure you're looking at the content of the disk cache (folder) and not only the RAM cache? The interface, clear cache button, etc probably work with the sum of both, but I'm only talking about the disk cache.

The discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=901397#c5 and dozens of other reports of this indicate what I'm saying.

Comment 3

4 years ago
I've verified that the option indeed disables the disk cache for subsequent sessions, but it /also/ works as advertised since the cache folder is completely removed upon shutdown of Firefox (used v24-release to test). Cache being disabled was verified by monitoring the regular folder where cache is stored with this setting enabled, and I didn't see any caching to disk happening at all.

This means the downside is that it might be confusing to people because disk cache controls are still there in preferences, without actually affecting anything, and losing performance when more than the maximum memory cache is used in a single session (an easy to hit limit). Was just disabling disk cache intentional? Wouldn't it be better to let the browser use disk cache in a session and then clear it at the end, as described in the option?
(Reporter)

Comment 4

4 years ago
(In reply to Mark Straver from comment #3)
> I've verified that the option indeed disables the disk cache for subsequent
> sessions, but it /also/ works as advertised since the cache folder is
> completely removed upon shutdown of Firefox (used v24-release to test).
> Cache being disabled was verified by monitoring the regular folder where
> cache is stored with this setting enabled, and I didn't see any caching to
> disk happening at all.
> 
> This means the downside is that it might be confusing to people because disk
> cache controls are still there in preferences, without actually affecting
> anything, and losing performance when more than the maximum memory cache is
> used in a single session (an easy to hit limit). Was just disabling disk
> cache intentional? Wouldn't it be better to let the browser use disk cache
> in a session and then clear it at the end, as described in the option?

No, it does not work as advertised. "Empty cache on exit" means leaving it enabled from start to exit (otherwise there's nothing to empty) and emptying at exit. Instead, the option disables the cache entirely. That is not what is advertised by the option and not what the user requested.

I agree with the rest of your explanation, of course. Glad to see at least someone has some common sense about this.

I don't care anymore though. I've stopped using Firefox altogether, due to this among other reasons affecting powerusers. Or, as Mozilla so lovingly calls it, "2% use cases".

Comment 5

4 years ago
It only works as advertised the first time when there still is a cache folder (after that, there's no cache folder to clear) but I agree that's taking a rather "if you interpret it that way" approach ;)

Obviously a bug though, one would expect cache to be used while the browser is active, and cleared upon shutdown. Not just kill caching altogether.
You need to log in before you can comment on or make changes to this bug.