W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > May to August 1996

Re: EDITS for Section 13.20 (Cache Replacement for Varying Resources)

From: Roy T. Fielding <fielding@avron.ICS.UCI.EDU>
Date: Thu, 02 May 1996 02:12:55 -0700
To: Paul Leach <paulle@microsoft.com>
Cc: "'koen@win.tue.nl'" <koen@win.tue.nl>, http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
Message-Id: <9605020213.aa14414@paris.ics.uci.edu>
>>   13.20 Caching Responses
>>
>    If a new cacheable response (see sections 10.7.2, 13.11.2, 13.11.3
>>and 13.14) 
>    is received from a non-varying resource while an old response for the
> same 
>    resource is cached, the cache SHOULD insert the new response into
> cache storage 
>    (see section 13.7.3).

Not accurate -- the cache never needs to do any such thing in order to
remain conditionally compliant with HTTP (the meaning of "SHOULD").

>>   If a new cacheable response is received from a varying
>    resource with a certain variant-ID while an old response with the
> same
>>   variant-ID for the same resource is cached, the cache SHOULD insert
> the new
>    response into cache storage.
> 
>    The cache SHOULD now use the new response to reply to this request
> and to any
>    future requests that would previously have caused the old response to
> be 
>    returned.
> 
> 	Note: In some cases, this may mean that the cache chooses to delete the
> old
>>	response from cache storage to recover space.
>>
>    Note: The above mechanism will not trigger deletion from cache
>>storage of old
>>   responses with variant-IDs that will no longer be used.  It is
>>expected
>>   that the normal 'least recently used' update heuristics employed by
>>   caches will eventually cause such old responses to be deleted.

That's all just meaningless baggage.  Why do you want to add it?
What problem are you trying to solve?

As far as I can tell, this section (13.20) does not belong in the spec,
no matter how many times it is rewritten.


 ...Roy T. Fielding
    Department of Information & Computer Science    (fielding@ics.uci.edu)
    University of California, Irvine, CA 92717-3425    fax:+1(714)824-4056
    http://www.ics.uci.edu/~fielding/
Received on Thursday, 2 May 1996 02:31:51 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:31:59 EDT