[squid-users] Regex optimization

Alfredo Rezinovsky alfrenovsky at gmail.com
Thu Jun 16 22:23:38 UTC 2016

A small quantity of big regexes performs well. The CPU load is the same as
if there's no regex at all.

The thing I don't understand is why this specific regex matches every uri I
throw at it in squid, but not in linux grep, or regex101.com.

The generation of the big regexes takes seconds and is done only once.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160616/aedaf3cd/attachment.html>

More information about the squid-users mailing list