304 Not Modified

Your cached copy is still good.

3xx · Redirection

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