ETag

A response header holding an opaque tag that names one exact version of a representation, such as ETag: "1".

In more detail

Clients send the tag back in If-None-Match to ask whether their copy is still current, or in If-Match to make an update conditional on the version they read. When the representation changes, the tag changes.

Examples

In the APIs course: The course fault that removes the ETag looks harmless but breaks both caching and safe updates.
In the browser: The browser sends it back in If-None-Match; if nothing changed the server replies 304 Not Modified with no body.

Related terms

Taught in

References

Certification courses