Connected: An Internet Encyclopedia
13.3.4 Rules for When to Use Entity Tags and Last-modified Dates

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 2068
Up: 13 Caching in HTTP
Up: 13.3 Validation Model
Prev: 13.3.3 Weak and Strong Validators
Next: 13.3.5 Non-validating Conditionals

13.3.4 Rules for When to Use Entity Tags and Last-modified Dates

13.3.4 Rules for When to Use Entity Tags and Last-modified Dates

We adopt a set of rules and recommendations for origin servers, clients, and caches regarding when various validator types should be used, and for what purposes.

HTTP/1.1 origin servers:

In other words, the preferred behavior for an HTTP/1.1 origin server is to send both a strong entity tag and a Last-Modified value.

In order to be legal, a strong entity tag MUST change whenever the associated entity value changes in any way. A weak entity tag SHOULD change whenever the associated entity changes in a semantically significant way.

HTTP/1.1 clients:

An HTTP/1.1 cache, upon receiving a request, MUST use the most restrictive validator when deciding whether the client's cache entry matches the cache's own cache entry. This is only an issue when the request contains both an entity tag and a last-modified-date validator (If-Modified-Since or If-Unmodified-Since).


Next: 13.3.5 Non-validating Conditionals

Connected: An Internet Encyclopedia
13.3.4 Rules for When to Use Entity Tags and Last-modified Dates