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.

Greg
> ---------- Forwarded message ----------
> Date: Mon, 21 Jan 2002 12:55:17 +0100
> From: Andrzej Kukula <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Two things
> 
> Hello.
>
> 2. (Far more important) httpd.apache.org transmits the same Date: and
> Expires: HTTP headers, thus making squid unable to cache your pages. I've
> tested it with httpd.apache.org/docs/mod/core.html.
> 
> Regards,
> Andrzej Kukuła

Reply via email to