Re: [squid-users] Ignoring query string from url

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Fri, 24 Oct 2008 16:22:56 +0200

On fre, 2008-10-24 at 13:40 +0530, nitesh naik wrote:

> Is there way to ignore query string in url so that objects are cached
> without query string ? I am using external perl program to strip them query
> string from url which is slowing down response time. I have started 1500
> processes of redirect program.

Then switch to the concurrent helper protocol with only one or two
helper processes.. requires a minimal change in the helper to support
the new request/response format. This significantly speeds up things as
Squid then batches several request to the helper, reducing the amount of
context switching.

See url_rewrite_concurrency. The protocol change is the same as for the
auth_param concurency parameter:

request:

  channel url method ...[newline]

response:

  channel new-url[newline]
or
  channel[newline]

that is responses need to echo back the same channel identifier as the
request had.

requests may be answered out-of-order if one likes.

Regards
Henrik

Received on Fri Oct 24 2008 - 14:23:03 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 24 2008 - 12:00:04 MDT