Date header in cached responses

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

Regards

Adrien



-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com

Received on Monday, 15 December 2008 03:28:45 UTC