W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2008

Date header in cached responses

From: Adrien de Croy <adrien@qbik.com>
Date: Mon, 15 Dec 2008 16:30:35 +1300
Message-ID: <4945CF5B.4000201@qbik.com>
To: HTTP Working Group <ietf-http-wg@w3.org>

Hi all

please excuse me if this is in an FAQ somewhere.  I've been poring 
through the sections on caching in RFC2616, and having trouble 
understanding how a cache should generate a Date header when replying 
with a cached version of a resource.

It doesn't appear to be explicitly stated anywhere I've looked, but s 
13.2.5 (Disambiguating Expiration Values) makes me wonder if the cache 
should be sending back the original Date header it received when it 
added the entry to the cache.

If so, then should we consider the Age header to be "age in seconds 
since Date" or what?

If the cache has to store and send the original Date header, it then 
also needs to store an offset between its clock and the Orig-Server 
clock (based on the algorithm for corrected time) in order to calcualte 
an updated Age value. 

I would prefer if the cache could just send it's own local timestamp in 
Date, but that could cause issues with 13.2.5



Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
Received on Monday, 15 December 2008 03:28:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:47 UTC