Wirebook

Wirebook › Glossary › ETag

What is an ETag?

In one sentence: A fingerprint of a file the server sends so a browser can ask later whether that exact copy has changed.

A little more

An ETag is a short fingerprint of a file. When your browser already has a copy, it can send that fingerprint in an If-None-Match header and ask whether the file has changed.

If the fingerprint still matches, the server answers 304 Not Modified: keep your bytes, no new download. If not, you get a fresh 200 with the new file.

See it in action

  1. BonusWhy does the website still show the old picture?Compare the logo on a pretend server with the copy on your browser shelf.6 min · interactive

Related words

← All 146 words