Re: [squid-users] Possible? Cache images with different parameters after question-mark?

From: Isnard Jaquet <isnard@dont-contact.us>
Date: Tue, 10 Jul 2007 09:58:16 -0300

Try

acl MYDOMAIN urlregex trk.citybeat.de/pixel.gif (match to your specific
need)
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY !MYDOMAIN

See if it helps...

Regards,

Isnard

Em Ter, 2007-07-10 ās 14:07 +0200, Hermann-Marcus Behrens escreveu:
> > find the acl "QUERY" that matches cgi-bin and ?. just before this acl,
> > add the acl to allow caching of the file.
> > something like this:
> Thank you for your answer. I chanded the squid.conf like you said, but
> it did not help. Every access to "pixel.gif" is reported as "TCP_MISS".
>
> I understand, why squid tries to fetch this file everytime, because the
> paramters changes everytime. So it would be nice, if I could tell squid
> to check only the part up to the question mark and to forget everything,
> which comes after the question mark. Is this possible?
>
> For better understanding, this is an original access-line found in the logs:
>
> GET http://trk.citybeat.de/pixel.gif?path=/adserved/4993&rand=158735979
>
> Greetings,
>
> Hermi
>
> btw: I forgot to mention, that I use squid as a http accelerator.
>
>
Received on Tue Jul 10 2007 - 06:58:27 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT