Re: Calculating Age Question
Roy T. Fielding (fielding@liege.ICS.UCI.EDU)
Mon, 25 Nov 1996 19:52:31 -0800
> 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/