EXT_DELAYER_ACL(8)
π EXT_DELAYER_ACL(8) β the delayer page, but make it make sense π«Ά
okay so this is a User Contributed Perl Documentation situation, bestie, and honestly? she's iconic for it. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
delayer β the Squid external ACL helper that justβ¦ adds artificial delay to requests. yes girl, that's the whole job. she's a professional procrastinator π
πΈ SYNOPSIS πΈ
delayer [--help] [--debug] [--log file] [--wait msec]
literally that's it. that's the whole vibe check β¨
π¦ DESCRIPTION π¦
so it's a Squid external acl helper, right, and what it does is cause squid to delay responding to HTTP requests. that's the main character energy here β she slows things down on purpose.
the way that it actually works is: if you carefully craft the ACLs of a Squid setup (like, no cap, careful is the key word here π), you can selectively delay requests received by a proxy. and then after the configured amount of time? it always returns "true". always. every single time. obsessed. π
π OPTIONS π
--helpor-hβ prints the help message to stdout. that's it, that's the whole thing π«Ά--debugor-dβ emits debugging output to STDERR and ultimatelycache.log. very much giving "i want to see everything" energy π₯--log /path/to/fileor-l /path/to/fileβ emits debugging output to the specified file instead of STDERR. and yes, it also turns on debugging, sneaky little bonus π--wait msecor-w msecβ delays each request by the specified amount of msec. if you don't specify this option, the default is half a second, so500 msec. every submitted request. default. no escape π
π CONFIGURATION π
okay this is the part you actually need, bestie, because to engage it you use this snippet of configuration template in squid.conf:
external_acl_type delayer concurrency=100000 children-max=2 children-startup=1 children-idle=1 cache=10 %URI /path/to/delayer -w 200
acl delay external delayer
http_access allow acl1 acl2 acl3 delay !all
β οΈ the important bit, don't skip this: it is important that the acl referencing the delayer be the penultimate clause in thehttp_accessline. it will cause delay to all requests that match all the preceding acls in the line. the!allclause at the end of the line will make it so that no traffic is authorized by this ACL β only the delay to evaluate the delay clause will be inserted before evaluating followinghttp_accesslines. π
also super important: place the http_access line carefully in the sequence of all http_access_lines. it should be near the beginning, but be careful not to insert unwanted slow acls (especially proxy_auth). don't do it. i'm serious. π
and here's a little gift: it is possible to customize how delay is calculated for each request by modifying the "calc_delay" PERL function in the script. the documentation on this is embedded in the source code comments, so iykyk π
π AUTHOR π
this software is written by Francesco Chemolli <kinkie@squid-cache.org> β shoutout, king π«‘
β COPYRIGHT β
* Copyright (C) 1996-2026 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
(C) 2014 Francesco Chemolli <kinkie@squid-cache.org>
This program is free software. You may redistribute copies of it under the
terms of the GNU General Public License version 2, or (at your opinion) any
later version.
π QUESTIONS π
got questions about using this program? send them to the Squid Users mailing list <squid-users@lists.squid-cache.org> β they're lovely, fr fr π
π§ REPORTING BUGS π§
β οΈ bug reports need to be made in English. no cap. see https://wiki.squid-cache.org/SquidFaq/BugReporting for the details of what you need to include with your bug report. π
- report bugs or bug fixes using
https://bugs.squid-cache.org/π - report serious security bugs to Squid Bugs
<squid-bugs@lists.squid-cache.org>π - report ideas for new improvements to the Squid Developers mailing list
<squid-dev@lists.squid-cache.org>π‘
π SEE ALSO π
squid (8)GPL (7)- The Squid FAQ wiki
https://wiki.squid-cache.org/SquidFaq - The Squid Configuration Manual
http://www.squid-cache.org/Doc/config/
and that's the whole page, bestie π this gem was brought to you by perl v5.42.2 and dated 2026-08-25, and it's filed under EXT_DELAYER_ACL(8) β go forth and slow down those requests responsibly π
β¨
π¦ where this page comes from
- arch rolling: squid 7.7-1 Β· GPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms