Re: Cache validators

>>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 UTC