Re: Cache-Control: no-store

Christian Biesinger <[email protected]>
Newsgroups gmane.comp.mozilla.devel.netlib
Message-ID <CACpOFMuD73w6Rq98XZi8WbSd9wFk9DhUrcMyKQznh56x07_FVw@mail.gmail.com>
On Wed, Nov 30, 2011 at 1:41 PM, Bjarne <[email protected]> wrote:
> [ Forwarded from a mail-thread on necko-devs.
> The topic is how to understand the http-header
> "Cache-Control: no-store". ]
>
> So, if I understand you both correctly, the
> expected behaviour is to not store such responses
> at all, not even in the mem-cache?

We have to store it in the memory cache so that view-source works
correctly. We just never reuse it.

> What about our nsIRequest.INHIBIT_PERSISTENT_CACHING
> flag? Should we allow responses to such requests to
> be stored in mem-cache?

Yes. That's how this flag is documented to work, and how would it
differ from INHIBIT_CACHING otherwise?

-christian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.