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

Re: Calculating Age Question

From: Roy T. Fielding <fielding@liege.ICS.UCI.EDU>
Date: Mon, 25 Nov 1996 19:52:31 -0800
To: Paul Hethmon <phethmon@utk.edu>
Cc: HTTP-WG <http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com>
Message-Id: <9611251952.aa24000@paris.ics.uci.edu>
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/1960
> So when the User Agent receives the response, the Age value 
> should be 13? Basically, at each cache, the Age value will 
> be increased by the response_delay of that cache (plus 
> resident_time if applicable). 

Regardless of what it says in the spec, the Age value is not touched
by the cache unless resident_time > 0.  In other words, a cache does
not age a response that it has never had in its possession.  It is only
when resident_time > 0 (the response is coming from the cache and
not from an upstream server) that the cache sets the Age value in
the message.

 ...Roy T. Fielding
    Department of Information & Computer Science    (fielding@ics.uci.edu)
    University of California, Irvine, CA 92697-3425    fax:+1(714)824-4056
    http://www.ics.uci.edu/~fielding/
Received on Monday, 25 November 1996 20:03:33 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:00 UTC