Re: [squid-users] How to ignore query terms for store key?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 04 Sep 2010 15:09:35 +1200

Guy Bashkansky wrote:
> Is there a way to ignore URI query terms when forming store keys?
> Maybe some rule or extension?
>
> In the Squid code it could look something like:
> { char *p = strchr(uri, '?'); if (p) *p = '\0'; }
>
> But the only code like this deals with strip_query_terms,
> which only affects logging, not storing.

First, please answer: Why? what possible problem could require you to do
this massive abuse of the web?

storeurl_rewrite

Be EXTREMELY careful about what you re-write. A good understanding of
how the re-written website operates is needed. Along with complete trust
that the website will not alter its design (or layout) in any way for
the lifetime of your config.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.7
   Beta testers wanted for 3.2.0.2
Received on Sat Sep 04 2010 - 03:09:42 MDT

This archive was generated by hypermail 2.2.0 : Sat Sep 04 2010 - 12:00:02 MDT