Skip to main content
apiguide.dev

HTTP 304 — Not Modified

Instructs the client that the cached version of the resource is still valid.

Status CodeHTTP 304
CategoryRedirection (3xx)
API Error Subtypes0 error schemas
HTTP Headers6 headers

What does HTTP status code 304 mean?

The 304 Not Modified status code indicates that the resource has not changed since the last request, so the server is not sending a response body. The client can safely use its cached copy.

When to use it in APIs

Used for HTTP caching. The client sends conditional headers like If-None-Match (containing an ETag) or If-Modified-Since. If the server detects no changes, it returns a 304.

How it compares to other codes

  • 200 OK: Returns the full payload, whereas 304 returns no body to conserve bandwidth.

Specific API Error Types for 304

No specific Problem+JSON schemas have been defined for HTTP 304 on apiguide.dev yet.

Associated HTTP Headers

Related HTTP Status Codes