[squid-users] Why so many 304 resposne for MSIE ?

From: howard chen <howachen_at_gmail.com>
Date: Tue, 20 Jan 2009 10:50:29 +0800

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.
Received on Tue Jan 20 2009 - 02:50:37 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 20 2009 - 12:00:07 MST