304 not modified

304 Not Modified is an HTTP status code that tells a web browser or client that the requested resource has not changed since the last time it was accessed. Instead of downloading the resource again, the browser uses the cached version already stored locally. This reduces bandwidth usage and improves page load speed for returning visitors.
The 304 status code is part of web caching mechanisms, ensuring efficiency between browsers and servers. It helps optimize performance while maintaining consistency of website content delivery.
Advanced
304 Not Modified is triggered when a client sends conditional requests using headers such as If-Modified-Since or If-None-Match. If the server confirms the resource has not changed, it responds with the 304 code and no message body, allowing the client to load the cached version.
This mechanism is widely applied in content delivery networks (CDNs), proxies, and caching layers to minimize redundant data transfers. Effective cache configuration requires headers such as ETag, Cache-Control, and Last-Modified to ensure accurate validation. Advanced use cases integrate with performance optimization strategies for large-scale websites.
Relevance
Applications
Metrics
Issues
Example
An online retailer optimized its site by enabling 304 responses for static resources like images and scripts. Returning customers experienced faster load times, while the company reduced bandwidth costs during seasonal sales traffic surges.