[squid-dev] RFC: cacheMatchAcl
Alex Rousskov
rousskov at measurement-factory.com
Fri Apr 3 14:34:05 UTC 2020
On 4/3/20 7:25 AM, Francesco Chemolli wrote:
> I'm looking at places where to improve things a bit, and I stumbled
> across cacheMatchAcl . It tries hard to be generic, but it is only ever
> used in ACLProxyAuth::matchProxyAuth . Would it make sense to just have
> a specialised cache for proxyauth?
I wonder whether proxy_auth is special in this context:
1. Is proxy_auth cache radically different from other ACL caches such as
external ACL cache? Or did we just not bother unifying the code
supporting these two caches?
2. Do some other ACLs cache nothing just because we did not have enough
time to add the corresponding caching support? Or do proxy_auth and
external ACL poses some unique properties that no other ACL already has
or likely to have in the foreseeable future?
The result of this analysis is likely to lead us towards the correct
answer to your question.
Cheers,
Alex.
More information about the squid-dev
mailing list