[squid-users] Can I use an external ACL helper for "cache allow x" or "cache deny y" ?
Alex Rousskov
rousskov at measurement-factory.com
Wed Jul 5 14:36:52 UTC 2017
On 07/05/2017 03:25 AM, Eliezer Croitoru wrote:
> Can an external acl helper be used for "cache deny x" or "cache allow y"?
Yes, the "cache" directive supports "slow" ACLs, and an external ACL is
a slow ACL:
>From http://www.squid-cache.org/Doc/config/cache
> * cache: Checked before Squid makes a hit/miss determination.
> No access to reply information!
> Denies both serving a hit and storing a miss.
> Supports both fast and slow ACLs.
>From http://www.squid-cache.org/Doc/config/acl
> acl aclname external class_name [arguments...]
> # external ACL lookup via a helper class defined by the
> # external_acl_type directive [slow]
Alex.
More information about the squid-users
mailing list