[squid-users] Ignoring query string from url

From: nitesh naik <niteshnaik_at_gmail.com>
Date: Fri, 24 Oct 2008 13:40:10 +0530

Hi All,

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.

If I run squid without redirect program to strip query string , the squid
response is much faster but all the requests goes to the origin server.

Perl program to strip query string is.

#!/usr/bin/perl -p
BEGIN { $|=1 }
s|(.*)\?(.*)|$1|;

Regards
Nitesh
Received on Fri Oct 24 2008 - 08:10:15 MDT

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