Why should you set ETags to "MUST requirements level"?
You get the resource until ETags returns ...
I am working on a project where I am a client who sends HTTP requests to a server that returns an HTTP Cache-Control header with ETags to respond to the cache (where in each add request it is compared to an If-None- Header header to determine whether the data is obsolete and if a new request is required). In my current project, the ETags parameter uses a GET conditional architecture with a MUST requirement level, as specified in RFC 2119.
MUST This word or terms "REQUIRED" or "MUST" mean that the definition is an absolute specification requirement. I don’t understand the intention to use a conditional GET with a LONG level of requirements? In my opinion, the MUST requirement is to limit (is this right?) The resources provided to the client who makes the request, however the client (I have in this case) already has resources from the first request. Where can I continue to receive the same resource (or a more recent resource if it is updated) as much as I want with or without the return of the If-None-Match and ETag header fields.
What would be the purpose of setting it to the MUST requirements level in this case, if it does not limit the returned resources, except that it can cache and limit the number of requests to the server (Im asking from the client point of view, yes I know that I can cache it but why is this a MUST requirement)? Is this not used only to limit resources?
Basically, does this not make a requirement a requirement, if I can get resources with or without it? Did I miss something?
My question is not asking what and how Etags, Cache-Control or If-None-Match headers work.
Thanks Hi!
source share