Search squid archive

Re: Possible? Cache images with different parameters after question-mark?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
> 
> 


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux