Technical detail · CoAP Resource Negotiation Patterns
Validate a cached response with an ETag
A CoAP cache stores a resource’s representation, its encoded state, for reuse within a permitted freshness lifetime.
Max-Age specifies that lifetime; it is option 14 and defaults to 60 seconds when absent. An ETag is a tag identifying a representation. A cache can submit it for validation; 2.03 Valid confirms the matching stored representation without sending its body again. If validation does not confirm it, the client needs an updated representation. Keep format support, application meaning and cache age as separate decisions.