httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@collab.net>
Subject Re: Expires: header prevents caching
Date Tue, 22 Jan 2002 20:30:48 GMT
On Tue, 22 Jan 2002, Greg Ames wrote:
> Greg Ames wrote:
> >
> > I tested the URL that Andrzej mentions below.  Sho 'nuf, the value of the
> > Expires: headers we send is exactly the same as the value of the Date: header.
> > RFC 2616 says the content can't be cached by proxies in this case.
>
> OK, I see what's happening:
>
> [gregames@daedalus apache]$ ls /www/httpd.apache.org/docs/mod/core*
> /www/httpd.apache.org/docs/mod/core.html.en
> /www/httpd.apache.org/docs/mod/core.html.fr
> /www/httpd.apache.org/docs/mod/core.html.html
>
> mod_negotiation is turning off caching because there are multiple versions of
> that document.  We wouldn't want squid to cache an English version of the
> document and serve it to a French client.

And the Vary: header is there and correct.  Cool.  I wonder how many
proxies grok Vary correctly.

	Brian




Mime
View raw message