HTTP 304 — Not Modified

The resource has not been modified since the last request

When to use it

Use status 304 when this is the correct HTTP response semantic: The resource has not been modified since the last request

Request and response example

GET /profile HTTP/1.1
Host: api.example.com
If-None-Match: "profile-v3"

HTTP/1.1 304 Not Modified
ETag: "profile-v3"

Related status codes

300, 301, 302, 303

References

MDN · RFC 9110