Closed Bug 346284 Opened 18 years ago Closed 12 years ago

feature request : ignore no-cache header

Categories

(Core :: Networking: Cache, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Surfer56, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1b1) Gecko/20060710 Firefox/2.0b1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1b1) Gecko/20060710 Firefox/2.0b1 Please , add to "about:config" - "browser.cache.disk.ignore_no-cache.enable"(this is only example) boolean value , that will be turn on/off feature Reproducible: Always Steps to Reproduce: 1. Go to some site with "no-cache" in header 2. Surf this site Actual Results: Site will not displayed in "about:cache?device=disk" and will not in cache. Expected Results: Firefox must cache this sites(content) when feature turned on. Firefox parser must ignore <meta http-equiv="Cache-Control" content="no-cache"> or something else when feature turned on.
I'd vote for WONTFIX.
Component: General → Networking: Cache
Product: Firefox → Core
QA Contact: general → networking.cache
Version: unspecified → Trunk
+1 to WONTFIX - this will break lots of things.
I should qualify that; responses with Cache-Control: no-cache can be cached, but they need to be revalidated before being served. So, it's perfectly acceptable to store something with no-cache on it in the cache, to allow it to be revalidated (or perhaps used offline) -- no extra preference would be needed to do that. It's not so much a matter of ignoring no-cache, as it is of taking advantage of the full semantics of no-cache.
I think it lets Firefox be more usefull in "work offline" mode. In roadmap of Firefox 3 there is point about cache.
I agree with Mark in comment 3. Regarding better support for offline mode, I am sure there is already a better bug for that, and I agree that is something we should do, but we should be doing that without the need for the user to set a preference.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.