Re: [squid-users] Cache URL with "?"

From: Frog <frog_at_rsf1.net>
Date: Tue, 22 Jul 2008 11:42:34 +0100

Michael Alger wrote:
> On Tue, Jul 22, 2008 at 01:22:53PM +0900, KwangYul Seo wrote:
>
>> It seems that squid never caches the URL with parameters. For
>> example, every time a browser accesses
>> http://www.naver.com/css/www.css?20080722, a cache miss occurs in
>> squid.
>>
>> However, the server response header indicates that this CSS can be
>> cached.
>>
>
> You're probably using the (old) default squid.conf which includes
> something along the lines of:
>
> acl QUERY urlpath_regex cgi-bin \?
> cache deny QUERY
>
> This says that any URL that contains the string "cgi-bin" or "?"
> cannot be cached. These are now deprecated, and you should remove
> these and replace them with refresh_patterns instead (since they
> only apply to content which doesn't have explicit expiry
> information):
>
> refresh_pattern (cgi-bin|\?) 0 0% 0
>
>
Does this apply to Squid3 only or is it supported in any recent version?

Regards,
Frog
Received on Tue Jul 22 2008 - 10:42:38 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 22 2008 - 12:00:04 MDT