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

From: Hermann-Marcus Behrens <bremen@dont-contact.us>
Date: Tue, 10 Jul 2007 14:07:35 +0200

> 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:08:13 MDT

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