Re: Cache-Control: no-store
Bjarne <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.netlib |
|---|---|
| Message-ID | <[email protected]> |
On 12/01/2011 09:37 PM, Christian Biesinger wrote: > On Thu, Dec 1, 2011 at 4:36 AM, Bjarne<[email protected]> wrote: >> In "netwerk/test/unit/test_cacheflags.js" there >> is a test (second-last) for the combination >> "no-store" and nsIRequest.LOAD_FROM_CACHE. It >> expects to load the entry from cache. Can this >> be correct? (nsIRequest.LOAD_FROM_CACHE is the >> flag used by history, according to docs.) > > Sigh. The docs are wrong. History uses VALIDATE_NEVER, which makes a > lot more sense. > > LOAD_FROM_CACHE is used for LOAD_RELOAD_CHARSET_CHANGE and similar > cases, for which case it seems right to reuse no-store responses. Filed bug #707160 to address this.