[squid-users] Can I use an external ACL helper for "cache allow x" or "cache deny y" ?
Eliezer Croitoru
eliezer at ngtech.co.il
Wed Jul 5 19:07:47 UTC 2017
Thanks Alex,
I will start with a simple example which supports concurrency.
I will start with a Ruby+memcache\redis simple helper and will move on towards a full blown GoLang based one.
Eliezer
----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer at ngtech.co.il
-----Original Message-----
From: Alex Rousskov [mailto:rousskov at measurement-factory.com]
Sent: Wednesday, July 5, 2017 17:37
To: Eliezer Croitoru <eliezer at ngtech.co.il>; squid-users at lists.squid-cache.org
Subject: Re: [squid-users] Can I use an external ACL helper for "cache allow x" or "cache deny y" ?
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