Preventing 304 Not Modified Requests with nginx
- by ustun
I am running nginx, and have the following block for expiration:
expires 52w;
However when I use Google Chrome Developer Tools to observe network traffic, some of the assets are loaded from cache (200-from cache) while most of the assets are making a request to the server (304 Not Modified).
I want to load all assets from cache without communicating with the server if possible. (200-from cache)
What would be the required change in my nginx configuration?