need help with nginx configuration, I had configured a very simple
static file caching or direct from disk, but nginx did not return 304
when if-modified-since header is in the request.
we have installed with default modules, and test with firefox 3.6.12 to
retrieve a gif file, not matter how we change the configuration, we
still get 200 in return.
On Tue, Nov 09, 2010 at 05:22:04PM -0500, rchen9012 wrote:
need help with nginx configuration, I had configured a very simple
static file caching or direct from disk, but nginx did not return 304
when if-modified-since header is in the request.
if-modified-since exact;
Just a side note: there is no such directive; there is
if_modified_since one.
Hint: never trust browsers and various “http headers” plugins, in
many cache-related cases they show incorrect info. Looking what
happens on the wire (tcpdump, wireshark) or at least intercepting
traffic with debugging proxy (fiddler) is recommended.
On Wed, Nov 10, 2010 at 09:40:11AM -0500, rchen9012 wrote:
Hi Maxim,
we have installed with default modules, and test with firefox 3.6.12 to
retrieve a gif file, not matter how we change the configuration, we
still get 200 in return.