Search squid archive

Ignoring query string from url

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux