Re: [squid-users] Different URL same ETag

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 07 Aug 2007 12:26:06 +0200

On tor, 2007-08-02 at 10:49 +0200, Enrico Popp wrote:

> i have more than one different urls. For each Url squid save an object
> allthrough all these objects have the same E-Tag.

E-Tag's is per request-URI (and to some extend Content-Location). Two
objects with different URIs but the same ETag is not guaranteed to be
identical. Only two responses from the same Request-URI with the same
ETag is supposed to be guaranteed to be identical.

> Is there any
> possibiltiy to change this behavior? May be squid prefer to look for
> E-Tags instead of requested headers.

What you can do is to use an url_rewriter to unify your URL-namespace,
mapping all known duplicates to a single URI variant.

Regards
Henrik

Received on Tue Aug 07 2007 - 04:26:17 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT