Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1106795 of 304 Not Modified

  • Revision slug: Web/HTTP/Status/304
  • Revision title: 304 Not Modified
  • Revision id: 1106795
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment review

Revision Content

{{HTTPSidebar}}

The HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is {{glossary("safe")}}, like a {{HTTPMethod("GET")}} or a {{HTTPMethod("HEAD")}} request, or when the request is conditional and uses a {{HTTPHeader("If-None-Match")}} or a {{HTTPHeader("If-Modified-Since")}} header.

Many developer tools' network panels of browsers create extraneous requests leading to 304 responses, so that access to the local cache is visible to 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

{{Compat}}

See also

  • {{HTTPHeader("If-Modified-Since")}}
  • {{HTTPHeader("If-None-Match")}}

Revision Source

<div>{{HTTPSidebar}}</div>

<p>The HTTP <code><strong>304</strong></code><strong><code> Not Modified</code></strong> client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is {{glossary("safe")}}, like a {{HTTPMethod("GET")}} or a {{HTTPMethod("HEAD")}} request, or when the request is conditional and uses a {{HTTPHeader("If-None-Match")}} or a {{HTTPHeader("If-Modified-Since")}} header.</p>

<div class="note">
<p>Many <a href="/en-US/docs/Tools/Network_Monitor">developer tools' network panels</a> of browsers create extraneous requests leading to <code>304</code> responses, so that access to the local cache is visible to developers.</p>
</div>

<h2 id="Status">Status</h2>

<pre class="syntaxbox">
304 Not Modified</pre>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Title</th>
  </tr>
  <tr>
   <td>{{RFC("7232", "304 Not Modified" , "4.1")}}</td>
   <td>Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p class="hidden">The compatibility table in this page is generated from structured data. If you’d like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data/README.md">https://github.com/mdn/browser-compat-data/README.md</a> and send us a pull request.</p>

<p>{{Compat}}</p>

<h2 id="See_also">See also</h2>

<ul>
 <li>{{HTTPHeader("If-Modified-Since")}}</li>
 <li>{{HTTPHeader("If-None-Match")}}</li>
</ul>
Revert to this revision