3xx Redirection

HTTP 304 Not Modified

The cached version is still valid, so the server sends no body. Used with ETag and If-Modified-Since.

304 Not Modified tells the client that its cached copy is still valid, so the server sends no body. It is the answer to a conditional request with If-None-Match or If-Modified-Since.

HTTP/1.1 304 Not Modified

When servers send it

  • The browser revalidated a cached file with its ETag or Last-Modified date and nothing changed.

How to handle it

  • Serve the cached copy; the 304 carries no body.
  • If a changed file keeps returning 304, its ETag or Last-Modified is not being updated, often behind a CDN.

Related status codes

Other status codes

1xx Informational

2xx Success

3xx Redirection

5xx Server error

Search all HTTP status codes