Re: squid ignores Language: header but shouldn't

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 26 May 1999 20:53:11 +0000

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 hacker
Received 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