On Fri, 14 Jun 2002, Slava Bizyayev wrote:

> > I did not check how Squid work with Vary header because any value in
> > this header simply disables caching in MSIE. I prefer client caching
> > to compression.
> 
> It's not the truth again. I'm using Vary accomplished with Expires to
> control MSIE local cache about half a year. Works fine.

I have just checked 3 MSIE:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)

All of them had recevied responses like this:

HTTP/1.1 200 OK
Date: Fri, 14 Jun 2002 09:51:59 GMT
Server: Apache/1.3.22 (Unix)
Vary: Content-Encoding
Cache-Control: max-age=86400
Expires: Sat, 15 Jun 2002 09:51:59 GMT
Last-Modified: Tue, 09 Apr 2002 14:15:31 GMT
ETag: "1d3a9-65d-3cb2f783"
Accept-Ranges: bytes
Content-Length: 1629
Connection: close
Content-Type: text/html; charset=koi8-r

All of MSIE do not cache responses. They even do not
send "If-Modified-Since" header.

Can you show me URL with "Vary" and "Expires" that MSIE would cache.

> > > > 4. You should not unset "Accept-Encoding". Better way is to set
> > > >    $r->note('disable_gzip').
> > >
> > > Sometimes it seems like Igor does not really understand what he is
> speaking
> > > about. No comments.
> >
> > I mean that that you should not change any incoming header.
> 
> ?! No comments.

How can I log a real "Accept-Encoding" header if you unset it ?

Igor Sysoev
http://sysoev.ru

Reply via email to