304 Not Modified

HTTP 304 Not Modified is a 3xx redirection status. The cached copy the client already has is still valid, so no body is sent.

304Status code
3xxRedirection
NoCacheable by default
RFC 9110 §15.4.5Defined in

Common causes

What to do

This is a good thing: it saves bandwidth. If content looks stale, check your ETag or Last-Modified logic.

Example response

HTTP/1.1 304 Not Modified
Location: https://example.com/new-path
Content-Length: 0

Returning 304 in code

Express   res.status(304).end();
Flask     return jsonify(…), 304
PHP       http_response_code(304);
Go        w.WriteHeader(304)

Other 3xx codes

Frequently asked questions

What does HTTP 304 mean?
The cached copy the client already has is still valid, so no body is sent.
Is 304 an error?
No. 3xx codes are redirection responses, not errors.