[squid-users] Can squid cache dynamic page base on part of url.

From: Peter Wang <ptr.wang_at_gmail.com>
Date: Mon, 04 Aug 2008 11:25:36 +0800

Hi, all. I plan to use squid as reverse proxy before apache, and cache
the dynamic pages. But the problem i encounter is: the url of the
dynamic page is variant for the same request. for example:
http://mysite/cgi?w=abc
http://mysite/cgi?w=abc&pg=1
http://mysite/cgi?w=abc&pg=1&stats=from.index
...

three urls above throw out the same content, `stats` parameter only use
for statistics, and `pg` parameter can omit for the first page, and the
order these parameter occurs will be variant too.

so can squid match cache base on partial url, for example:
http://mysite/cgi?w=abc&pg=1 on above case.

any advice for it? thanks.
Received on Mon Aug 04 2008 - 03:30:08 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 04 2008 - 12:00:03 MDT