<div dir="ltr">Hello Szilárd,<div> quoting from <a href="https://wiki.squid-cache.org/SquidFaq/SquidAcl#fast-and-slow-acls">the squid wiki</a> : </div><div><br></div><div>"A possible workaround which can mitigate the effect of this characteristic consists in exploiting caching, by setting some “useless” ACL checks in slow clauses, so that subsequent fast clauses may have a cached result to evaluate against."</div><div><br></div><div>In other words, a simplified example like:</div><div><br></div><div>acl users ext_user foo bar gazonk</div><div>http_access allow users all # always allow, verify and cache cache user auth</div><div>delay_access 3 allow users</div><div><br></div><div>should do the trick</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 20, 2024 at 2:15 PM Szilárd Horváth <<a href="mailto:shorvath@npsh.hu">shorvath@npsh.hu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div id="m_-1473589490936445928GroupWiseSection_1708413278789_shorvath@npsh.hu_AF4D605002460000936E707366303663_">
<div>
<p>Good Day!</p>
<p>I try to make limitation bandwidth for some user group. I have an external acl which get the users from ldap database server. In the old version of config we blocked the internet with http_access deny GROUP, but now i try to allow the internet which has limited bandwidth. I know that the delay_access work with only fast ACL and external acl or proxy_auth acl are slow. I already tried some opportunity but i couldn't solve.</p>
<p>Maybe have you any solution for this? Or any idea how can limitation the bandwidth for some user? I need use the username (e-mail address format) because that use to login to the proxy.</p>
<p>Version: Squid Cache: Version 5.6</p>
<p> </p>
<p>Thank you so much and i am waiting for your answer!</p>
<p>Have a good day!</p>
<p>Br,<br>Szilard Horvath </p>
</div>
</div></div>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="https://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">https://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"> Francesco</div>