@http · HTTP status codes, explained HTTP/1.1 304 Not Modified ━━━━━━━━━━━━━━━━━━━━━━━━━ 3xx · Redirection Your cached copy is still good. WHAT IT MEANS ──────────────────────────────────────────────────────────── The client asked whether its cached copy is still current, using If-None-Match or If-Modified-Since, and it is. The server sends no body; the client uses what it already has. WHY YOU'RE SEEING IT ───────────────────────────────────────────────────── → A browser revalidating a cached page, image or script. → A CDN checking with the origin after its cached copy expired. HOW TO FIX IT ──────────────────────────────────────────────────────────── → Nothing to fix; it saves bandwidth. → Include the same ETag, Cache-Control and Vary headers a 200 would have. → If you see too many 304s for unchanged files, give them longer max-age so browsers don't need to ask. EXAMPLE RESPONSE ───────────────────────────────────────────────────────── HTTP/1.1 304 Not Modified ETag: "33a64df5" Cache-Control: max-age=3600 related 200 OK   412 Precondition Failed   206 Partial Content spec RFC 9110 §15.4.5 https://www.rfc-editor.org/rfc/rfc9110#section-15.4.5 web https://athttp.com/304 ← curl athttp.com/303 curl athttp.com/305 →