how to tell IP ADDR or DNS for refresh pattern in squid.conf

From: Keith Heinemann <>
Date: Tue, 21 Oct 1997 01:10:46 -0400 (EDT)

        I have been experimenting lately with various refresh rate
settings on squid, as well as transparant proxying under linux. What I
would like to do is have squid cache normal proxy requests one way but
have it cache transparantly-redirected requests differently (for much less
time probably). This will allow properly configured web browsers to get
maximum usage from the cache, but will still allow limited caching of
pointcast/vrml/non-configured web browsers.

        This sounds simple in theory- a normal squid access is logged as
'', whereas transparant redirects are logged as strictly
IP numbers. How would one go about configuring a 'refresh_pattern' rule
that would only act on straight IP numbers?

refresh_pattern {ip numbers} 10 10% 60
(normal) refresh_pattern .gif... 1440 50% 10080

Many thanks in advance....

Received on Mon Oct 20 1997 - 22:12:53 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:18 MST