Re: [squid-users] mapping header field values to prototypes

From: Henrik Nordstrom <[email protected]>
Date: Tue, 10 Dec 2002 10:34:30 +0100 (CET)

On Tue, 10 Dec 2002, Marc Kupietz wrote:

> Am Son, 2002-12-08 um 15.04 schrieb Henrik Nordstrom:
> > On Sunday 08 December 2002 12.26, Marc Kupietz wrote:
> >
> > > since caching of pages with vary-headers is now possible it would
> > > be great if values of header fields like "Accept-Language" or
> > > "User-Agent" could be mapped (by regexps) to certain prototypes.
> > > Squids used in accelerator mode could then be configured to
> > > efficiently cache only distinct page versions.
> >
> > This should be done via ETag based caching. There is a patch for ETag
> > support to be found at devel.squid-cache.org.
> >
>
> Using Etag would certainly be a clean solution, but Roxen CMS does not
> support If-Match-Requests.

Then the best action is to have Roxen CMS fixed to support ETag and
If-None-Match. If it does support ETag for the content in question then
If-None-Match should be almost trivial to add.

If it does not support ETag then the problem is bigger..

Extending Squid to support such prototypes on documents without an ETag is
certainly a possibility, but not something available in Squid today. There
is several Squid developers available for hire if you need help
implementing such content accelerator support in Squid.

Regards
Henrik
Received on Tue Dec 10 2002 - 02:34:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:01 MST