HTTP 304 Not Modified indicates that the resource has not been modified since the version specified by the If-Modified-Since or If-None-Match request headers. The server returns no body, telling the client to use its cached copy. This is a key part of HTTP caching.
The browser sent conditional headers (If-Modified-Since or If-None-Match) and the server confirmed the cached version is still valid.
A CDN is revalidating its cached content with the origin server.
304 is a healthy caching response that saves bandwidth. It means your cache is working correctly.
If you need to bypass the cache, send a request without conditional headers.
curl -H 'Cache-Control: no-cache' https://example.com/resource
Verify the server returns proper ETag or Last-Modified headers for caching to work correctly.
curl -I https://example.com/resource