Re: [squid-users] ICAP Bypassing Causing Performance Issues

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 23 Aug 2011 20:59:39 +1200

On 23/08/11 18:21, Ralf Hildebrandt wrote:
> * Justin Lawler<jlawler_at_amdocs.com>:
>> Thanks Amos - regex pattern we're using is:
>>
>> .*some_url_end.html$
>
> Wouldn't
> some_url_end.html$
> be more efficient?
>

Yes, a lot more. The .* is redundant and forces look-ahead/behind to
happen. Which raises the CPU requirements.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.14
   Beta testers wanted for 3.2.0.10
Received on Tue Aug 23 2011 - 08:59:48 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 23 2011 - 12:00:02 MDT