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 ModifiedWhen 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.