Preventing 304 Not Modified Requests with nginx
Posted
by
ustun
on Server Fault
See other posts from Server Fault
or by ustun
Published on 2013-10-18T07:55:56Z
Indexed on
2013/10/18
10:00 UTC
Read the original article
Hit count: 159
nginx
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?
© Server Fault or respective owner