The HTTP 304 Not Modified client redirection response code indicates that their is no need to retransmit the requests resources. It is an implicit redirection to a cached resources. This happens when the request method is {{glossary("safe")}}, like a {{HTTPMethod("GET")}} or a {{HTTPMethod("Head")}} and the request is conditional and use a {{HTTPHeader("If-None-Match")}} or a {{HTTPHeader("If-Modified-Since")}} headers.
Many developer tools network panels of browsers create extraneous requests leading to 304 responses so that accesses to the local cache are visible to the developers.
Status
304 Not Modified
Specifications
| Specification | Title |
|---|---|
| {{RFC("7232", "304 Not Modified" , "4.1")}} | Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests |
Browser compatibility
The compatibility table in this page is generated from structured data. If you’d like to contribute to the data, please check out https://github.com/mdn/browser-compat-data/README.md and send us a pull request.
{{Compat}}
See also
- {{HTTPHeader("If-Modified-Since")}}
- {{HTTPHeader("If-None-Match")}}