]> git.ipfire.org Git - thirdparty/squid.git/commit
Per-rule refresh_pattern matching statistics
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 31 Jan 2015 19:09:22 +0000 (08:09 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 31 Jan 2015 19:09:22 +0000 (08:09 +1300)
commita5ea775169885e224f977702e8a759c4044b868a
tree5e8664191253e1fdb6a199ec1b20e6743843ef1d
parentf4cd657d0615c332ddb86cf2918c1428ea4b948a
Per-rule refresh_pattern matching statistics

.. to make it blindingly obvious from the cachemgr report which rules
are completely useless. Such as when the global dot pattern (.) is
placed ahead of custom rules, or one rules pattern is always a subset
of an earlier pattern.

This also allows sysadmin to tune refresh_pattern ordering so most
commonly matching rules are first.
src/RefreshPattern.h
src/refresh.cc