Re: [squid-users] url_regex and performances ?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 31 May 2001 21:48:05 +0200

When allowing sites, use the dstdomain ACL type for best performance.

Note: for only 50 sites, the performance differences between the
different ACL types are minimal, but if you have a parent cache then
dstdomain is a lot faster than dst since there won't be any need for DNS
lookups (dst matches IP addresses, dstdomain matches hosts/domain names)

--
Henrik Nordstrom
Squid Hacker
Sébastien Legillon wrote:
> 
> hi,
> 
> I've use Squid/2.3.STABLE4 for 6 months and Squid/2.4.STABLE1 for 1 week (on PIII
> 850 - 512Mo RAM)
> 
> There are 450 people who can go on Internet with authentification NCSA
> There are 1800 people who can go on Internet without authentification but only 50
> sites.
> 
> For this 50 sites and with better performances, i have to use :
> 
> acl example1 dst www.site1.com
> acl example2 dst www.site2.com
> acl example1 dst www.site3.com
> 
> OR
> 
> acl example url_regex -i www.site1.com|www.site2.com|www.site3.com
> 
> Thanks in advance
> 
> Sébastien Legillon
> "Internet et Logiciels Libres dans les Collectivités Territoriales"
> http://illico.org/
> HAL: Highly Available Linux
Received on Thu May 31 2001 - 14:00:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:22 MST