Miquel van Smoorenburg wrote:
> Nowadays it gets popular to provide multilingual support with web
> servers. www.debian.org is a good example. Squid should honor
> this.
Squid (and many other caching HTTP/1.0 proxies) does not handle content
negotiation very well.
The cache friendly way to do content negotiation is to return a "303
Moved Temporarily" pointing to the real document on negotiated HTTP/1.0
requests.
For HTTP/1.1 request (and also for HTTP/1.0 requests even if not
defined), negotiated replies SHOULD contain a Vary: header specifying on
what grounds the content is negotiated.
This applies to all forms of content negotiation. See HTTP/1.1
specification for details on the Vary header.
Vary: is supported by Squid in the sense that it won't cache objects
that vary. It is on our to do list to implement this (and caching or
partial replies), but it requires fairly substantial changes to the
cache organisation.
-- Henrik Nordstrom Spare time Squid hackerReceived on Wed May 26 1999 - 15:17:26 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:27 MST