cache validation

Asking the server whether a stored response is still current by sending back its validator, such as an ETag, in a conditional request.

In more detail

If nothing changed, the server answers 304 Not Modified with no body and the client keeps its copy; if it changed, the client gets a normal 200 with the new representation. A missing validator is a correctness bug as well as a speed bug, because it also makes safe conditional updates impossible.

Related terms

Taught in

References