"Adrian Chadd" <adrian@xxxxxxxxxxx> writes: > Squid-2.7 can with store_url_rewrite . Adrian, thanks for you quick reply. I currently use squid version 3.0 # /usr/local/squid/sbin/squid -v Squid Cache: Version 3.0.STABLE8 configure options: '--prefix=/usr/local/squid' I dont see the storeurl_rewrite directive in the manual, does this features also in version of 3.0? thanks. > > > > Adrian > > 2008/8/4 Peter Wang <ptr.wang@xxxxxxxxx>: >> 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. >> >>