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

From: nitesh naik <niteshnaik_at_gmail.com>
Date: Mon, 27 Oct 2008 12:30:16 +0530

We use query string in each url for bursting cache at client end (
browser) hence its not important for us and it won't provide any
incorrect results. We already use similar configuration at CDN level.

We are trying to add squid layer between origin and CDN to reduce the
load on our origin servers. setup works fine for few requests but as
traffic grows up to 100 req/sec, squid response is slow. Each of
machine that squid is running on has got 20 GB RAM and Dual core
processor.

I used squirm for striping query string but I am seeing squid
responding slowly when url_rewrite_program is introduced in between.

Henrik suggested some clever idea to make changes to
url_rewrite_program to process request in parallel but unfortunately i
am not sure how to incorporate it.

Here are my rewrite program settings.

url_rewrite_program /home/zdn/squirm/bin/squirm
url_rewrite_children 1500
url_rewrite_concurrency 0
url_rewrite_host_header off
url_rewrite_bypass off

Regards
Nitesh

On Sun, Oct 26, 2008 at 4:51 PM, Matus UHLAR - fantomas
<uhlar_at_fantomas.sk> wrote:
> On 25.10.08 12:40, Nitesh Naik wrote:
>> Squid should give out same object for different query string.
>> Basically it should strip query string and cache the object so that
>> same object is delivered to the client browser for different query
>> string.
>
> Did you understand what I've said - that such misconfiguration can provide
> incorrect results? Your users will hate you for that
>
> --
> Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> WinError #99999: Out of error messages.
>
Received on Mon Oct 27 2008 - 07:00:30 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 27 2008 - 12:00:05 MDT