IT lexicon › Networking › ETag

ETag

Networking På svenska → Updated: 2026-07-30

An HTTP header with a "fingerprint" of the response. The client sends it back in If-None-Match next time — the server responds 304 if nothing changed (saves bandwidth).

RFC 7232. Two variants: strong ("abc123", byte-identical) or weak (W/"abc123", semantically equivalent). The server can derive the ETag from: file mtime+size, content hash (SHA-1 of body), version number. Better than Last-Modified for content that changes more often than once per second. CDNs (Cloudflare, Fastly) handle ETag validation without going to origin.

← Back to the lexicon