howard chen wrote:
Why so many 304 resposne for MSIE ?
I am serving a static JS file, with Squid as reverse proxy to my
Apache 1.x, which has the following response to the client:
=================
Status=OK - 200
Last-Modified=Thu, 11 Oct 2007 05:04:34 GMT
Accept-Ranges=bytes
Content-Length=27157
Content-Type=application/x-javascript
Date=Tue, 20 Jan 2009 02:36:50 GMT
Expires=Fri, 30 Jan 2009 02:36:50 GMT
Cache-Control=max-age=864000
Age=14
X-Cache=HIT from webcache-1.example.com
Connection=keep-alive
=================
You see expire is set to 10 years from now, so I will expect only a
very little of 304 (only user press F5 to reload)
However, by tracing the squid log, I found
The number of reqs of 200 vs 304 on IE:
17785 (200)
12465 (304)
The number of reqs of 200 vs 304 on FF:
6507 (200)
333 (304)
You see? Why so many 304 resposne for MSIE ?
Any idea?
Thanks.
You'll most likely have to Ask Microsoft for that answer.
Could be IE users hitting a bug in their GUI, and having to refresh the
page manually.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE5 or 3.0.STABLE11
Current Beta Squid 3.1.0.3