What does HTTP status 304 (Not Modified) mean?

 
Could be also:
ConstantTypeOS
ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTINGWin32 errorWindows
STATUS_DATA_OVERWRITTENNTSTATUSWindows
DYNAMIC_ADD_PROCESSOR_MISMATCHBugCheck CodeWindows
Previous Next
HTTP_STATUS_REDIRECT_METHOD HTTP_STATUS_USE_PROXY

HTTP_STATUS_NOT_MODIFIED

A 304 response is returned after a conditional request such as If-None-Match or If-Modified-Since. It has no message body; the client combines its cached representation with the updated response metadata.

It is not an error and should not be rendered as a blank page. When cache behavior is unexpected, compare validators, cache-control directives, and the exact request headers.

RFC 9110: HTTP Semantics

Operational meaning of HTTP 304 for HTTP_STATUS_NOT_MODIFIED

HTTP 304 (HTTP_STATUS_NOT_MODIFIED) is a redirection response. AllStat records its meaning as “304 Not Modified”. For HTTP_STATUS_NOT_MODIFIED, interpret it with the request method, selected representation, response headers, and the specification or product that defines the code; the number alone does not prove that application work completed.

Client and server handling for HTTP_STATUS_NOT_MODIFIED

  • Apply the method-rewrite and caching rules defined for HTTP_STATUS_NOT_MODIFIED, not a generic redirect rule.
  • For HTTP_STATUS_NOT_MODIFIED, validate the Location target and prevent redirect loops across proxies or canonicalization layers.
  • For HTTP_STATUS_NOT_MODIFIED, log the original URL, target URL, method, and cache decision.

For telemetry, record HTTP 304, method, authority, route template rather than secrets, response headers relevant to caching or retry, latency, upstream identity, and whether the response originated at the application or an intermediary.


Looking for a different code? Search another status or error code.