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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 21 Jan 2009 15:40:25 +1300

howard chen wrote:
> Hey,
>
> On Tue, Jan 20, 2009 at 5:31 PM, Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
>> Haven't you mistaken 304 for 200 ? the 200 means that the server is sending
>> the whole content to the client, while 304 means server is telling the
>> client that the content on client is still fresh. So with big expire time
>> you could expect much of 304's and little of 200's.
>>
>
>
> My understanding...
>
> 304 is used if a user conditioinally request for an object, e.g. by pressing F5.
>
> If expire is set and still fresh, client NO need to contact my server,
> so my log cannot see 304 at all...
>
> so seeing too many 304 is abnormal...and you see my example above is
> serious in IE only.
>
>
> Amos: Sure even if this is IE problem, I have no way to contact them
> for support... :)
>
>
> Thanks.

I wonder if you have "ie_refresh on" in your configuration.
http://www.squid-cache.org/Doc/config/ie_refresh/

That will lead to some bias towards 304. The fix in that case is to get
clients to upgrade their IE to more current versions.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE11
   Current Beta Squid 3.1.0.3
Received on Wed Jan 21 2009 - 02:40:30 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 21 2009 - 12:00:19 MST