Free auditStart free
GuideError · HTTP status codes

HTTP 304 Not Modified

HTTP 304 Not Modified means your cached copy is still valid and no body is sent. See what triggers it, how to read it in DevTools and how to set it up.

3 min
read
3
sources
Oct 22, 2026
updated
Scaplet Editorial Team
author
The short answer

HTTP 304 Not Modified means the client's cached copy is still current, so the server sends no body. It answers a conditional GET or HEAD request that carried If-None-Match or If-Modified-Since. It is a success-style signal that saves bandwidth, not a failure, and it is not a redirect to another URL.

  1. What a 304 response means
  2. Is a 304 an error?
  3. Why you see 304 and how to control it
  4. What it does to SEO
30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Check it

What a 304 response means

RFC 9110 says a 304 indicates that a conditional GET or HEAD request "would have resulted in a 200 (OK) response if it were not for the fact that the condition evaluated to false." The client already has a valid representation, so the server does not transfer one.

A 304 "is terminated by the end of the header section; it cannot contain content or trailers." MDN names Cache-Control, Content-Location, Date, ETag, Expires and Vary as headers that must match what a 200 would have carried. RFC 9110 lists the same fields and says the server MUST generate any of them that a 200 would have sent.

A conditional request answered with 304
GET /app.css HTTP/1.1
Host: example.com
If-None-Match: "v42"

HTTP/1.1 304 Not Modified
ETag: "v42"
Cache-Control: max-age=3600
03Cause, where to look, fix

Why you see 304 and how to control it

Cause

Normal revalidation of a cached file

Where to look
DevTools Network, Status column
Fix
Nothing to fix; this is the cache working
Cause

You expected fresh content but got the old file

Where to look
Response headers ETag, Last-Modified, Cache-Control
Fix
Change the file's URL (fingerprint it) or its validators when content changes
Cause

Server never returns 304 for static files

Where to look
Request has If-None-Match but response is 200
Fix
Enable ETag or Last-Modified on the server
Cause

Proxy sits between client and server

Where to look
Compare request headers at each hop
Fix
RFC 9110 says a proxy SHOULD forward a 304 to a client that sent the conditional request

To see a fresh 200 while testing, request the file with a tool that sends no conditional headers, such as curl -i. Browsers add them on their own when they hold a cached copy.

04Explained

What it does to SEO

Google's crawler guide says that on a 304, its crawlers signal the next processing system that the content is the same as last time, and for Google Search the status code has no other effect on indexing, though the pipeline may recalculate signals for the URL. A 304 is not a ranking problem. For genuine server problems see 5xx server errors, and for the code family see the HTTP status codes glossary entry.
Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01What does a 304 code mean?

The cached copy the client already has is still valid, so the server sent headers only. It answers a conditional GET or HEAD whose condition evaluated to false.

02Is 304 a redirect?

It sits in the 3xx class, but it does not send the client to a new URL. It tells the client to use its stored response.

03How do I avoid a 304?

You usually should not. If clients keep showing old content, change the file's URL when its content changes, or update its ETag or Last-Modified value, so the validator no longer matches. curl -i sends no validators unless you add them.

04What is the difference between 302 and 304?

A 302 points to another URL temporarily. A 304 returns no content because the cached copy is still valid.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • rfc-editor.org
  • mozilla.org
  • google.com
  1. 01RFC 9110: HTTP Semantics, Redirection 3xxrfc-editor.org · checked 2026-10-25
  2. 02MDN: 304 Not Modifieddeveloper.mozilla.org · checked 2026-10-25
  3. 03How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-25
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane