Home HTTP Status Codes 304 Not Modified

304 Not Modified

Redirection

Indicates that the resource has not been modified since the version specified by the request headers If-Modified-Since or If-None-Match.

Explanation

The 304 (Not Modified) status code indicates that a conditional GET or HEAD request has been received and would have resulted in a 200 (OK) response if it were not for the fact that the condition evaluated to false. In other words, there is no need for the server to transfer a representation of the target resource because the client already has a valid representation.

The server MUST NOT send a response body in a 304 response, and the client should use its cached copy. To update the cached copy, the server includes updated validators in the 304 response, which the client then uses for subsequent conditional requests.

This status is commonly used for efficient browser and CDN caching, reducing bandwidth and processing requirements for both the server and client.

Example Response

HTTP/1.1 304 Not Modified
Date: Wed, 15 Aug 2023 12:34:56 GMT
ETag: "737060cd8c284d8af7ad3082f209582d"
Cache-Control: max-age=3600

Related Status Codes

Check where URLs redirect to with our free URL redirect checker.

Check URL Redirects