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

Re: Cache validators

From: Larry Masinter <masinter@parc.xerox.com>
Date: Tue, 12 Mar 1996 08:00:05 PST
To: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
Message-Id: <96Mar12.080013pst.2733@golden.parc.xerox.com>
>>So supposing that the server constructed an opaque validator
>>for a hit-count GIF that is simply an encoding of the hit-counter
>>mod 10 (or mod 100, or mod 128, or whatever).  Then a large
>>fraction of the GET+If-Valid: requests on this GIF would return
>>304 Not Modified, even though the count might have increased
>>slightly.

First, it's 'div' not 'mod'. :)

> The correct thing to do in this case is to make the comparison function used
> for servicing the GET+If-Valid requests a mod 10 comparison, not to make the
> validator the mod 10 of the version number.

this makes a lot of sense.
Received on Tuesday, 12 March 1996 08:03:11 EST

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