W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2009

Re: Cache-Control private="...", no-cache="..." (was RE: draft-ietf-httpbis-p6-cache-06)

From: Yves Lafon <ylafon@w3.org>
Date: Wed, 27 May 2009 04:16:37 -0400 (EDT)
To: Brian Smith <brian@briansmith.org>
cc: 'Adrien de Croy' <adrien@qbik.com>, 'HTTP Working Group' <ietf-http-wg@w3.org>
Message-ID: <alpine.DEB.1.10.0905270406540.6758@wnl.j3.bet>
On Tue, 26 May 2009, Brian Smith wrote:

> I thought I had an explanation of how this could be useful, but my
> explanation doesn't really jive with what the spec. says. I, too, would
> really like to hear somebody explain how a cache is supposed to handle
> private="header1, header2" and no-cache="header1, header2".

The same way you will handle "Cache-Control: no-cache, max-age=86400". It 
is an error case, and a good implementation will most probably choose to 
take the more restrictive approach (no-cache), or simply discard the 
response for the cache purpose (so treat it as uncachable, which is the 
same as no-cache, but the intent is different).
Another extreme is to simply reject such responses as it is clearly an 
error.

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves
Received on Wednesday, 27 May 2009 08:16:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:03 GMT