Http error: 304 Not Modified

304 Not Modified

The 304 not modified code is a response status code that indicates that the requested resource has not been modified since the last time it was requested. This is often used in caching scenarios to improve performance by avoiding the need to send duplicate data over the network. 

 

The cause of a 304 code can be anything that results in the server not being able to send a 200 OK response, such as a network error or the server being down. To fix a 304 code, you will need to check the server’s logs to see what is causing the problem and then take appropriate action to fix it. 

 

Here is an example of a 304 not modified code: 

 

HTTP/1.1 304 Not Modified

Cache-Control: max-age=86400

Expires: Mon, 28 Sep 2020 23:59:59 GMT

 

How to Fix an HTTP 304 Not Modified Status Code

If you’re seeing 304 not modified responses in your server logs, there are a few potential causes:

 

  1. The requested resource has not been modified since the last time it was requested.
  2. The server is unable to send a 200 OK response for some reason (e.g., network error or server down).
  3. The server is configured to return a 304 not modified code in certain situations (e.g., caching scenarios).

Imran Selimkhanov

Imran is the founder of Productive Shop, he writes on B2B demand generation and SEO strategy topics to help startups understand how to win digital share of voice. Prior to Productive Shop, Imran led demand generation at an Oracle consultancy, ran an eCommerce site servicing LE teams, and prior to that, helped build PMO offices at technology startup companies. When he's not at work, Imran can be spotted hiking in the Rockies, honing his clay shooting skills, and tumbling off of black diamond ski tracks due to overconfidence in his skiing abilities.

Get the latest blog updates from Productive Shop! Subscribe to our blog:

    Top