Back to all status codes

304

Not Modified

Redirection
RFC 7232

Indicates that the resource has not been modified since the version specified by the request headers.

Detailed Information

The 304 status code indicates that the resource has not been modified since the version specified by the request headers.

Common Examples

  • Caching mechanisms
  • Conditional GET requests
  • Resource version control

Common Uses

  • Caching mechanisms
  • Conditional GET requests
  • Resource version control

Best Practices

  • Use when the resource has not changed
  • Ensure proper caching headers are set
  • Consider using 301 Moved Permanently for more permanent redirects

Additional Resources

Read more on MDN