cachemgr.cgi(8)
β¨ cachemgr.cgi β¨
okay bestie, so this is a page from the System Manager's Manual, and it's all about cachemgr.cgi β the Squid HTTP proxy manager CGI web interface. yes, that's a mouthful. we'll get through it together π«Ά
π NAME π
cachemgr.cgi β Squid HTTP proxy manager CGI web interface
πΈ SYNOPSIS πΈ
http://your.server/cgi-bin/cachemgr.cgi
literally just open it in a browser, no cap π
π¦ DESCRIPTION π¦
So the cache manager (cachemgr.cgi) is a CGI utility that shows you statistics about the Squid HTTP proxy process while it's actually running. like, live, in real time, main character energy fr fr.
It's the convenient way to manage the cache and peek at statistics without logging into the server. no ssh, no terminal, just vibes β¨
π CONFIGURATION π
Configuration examples for many common web servers? They're in the Squid FAQ wiki, bestie. Go look:
https://wiki.squid-cache.org/SquidFaq
the config files π
./cachemgr.conf/etc/squid/cachemgr.conf
This is the access configuration file that defines which Squid servers may be managed via this cachemgr.cgi program. Every single line specifies a server:port followed by an optional description. yes, one per line. that's it.
The server name may contain shell wildcard characters such as *, [] etc. And a quick selection dropdown menu is automatically constructed from the simple server names β so cute, it builds itself π
Specifying :port is optional. If you don't specify it, the default proxy port is assumed. And if you write :* or :any? That matches any port on the target server. iconic.
π₯ SECURITY π₯
okay listen up because this part is serious, no games π
cachemgr.cgi calls the requested server on the requested port using HTTP and returns a formatted version of the response.
To avoid abuse it is recommended to configure your web server to restrict access to the cachemgr.cgi program. Like. Actually do it. Not me being dramatic, this is in the manpage. π
π AUTHOR π
Derived from Harvest. Further developed by numerous individuals from the internet community β shoutout to the whole group chat honestly π«Ά. Development is led by Duane Wessels of the National Laboratory for Applied Network Research and funded by the National Science Foundation.
β COPYRIGHT β
* Copyright (C) 1996-2025 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.
π QUESTIONS π
Got questions about using this program? Send them to the Squid Users mailing list:
squid-users@lists.squid-cache.org
they don't bite, promise π
π REPORTING BUGS π</heading>
See https://wiki.squid-cache.org/SquidFaq/BugReporting for the details of what you need to include with your bug report. (yes there's a whole checklist, don't skip it bestie)
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 π
and that's the whole page, babe π
β cachemgr.cgi(8) from the System Manager's Manual, copyright hanging out at 1996-2025 with The Squid Software Foundation and contributors. go forth and manage your cache, you absolute legend πβ¨
π¦ where this page comes from
- fedora 43: squid 7:6.14-2.fc43 Β· GPL-2.0-or-later AND (LGPL-2.0-or-later AND MIT AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSD-4-Clause-UC AND LicenseRef-Fedora-Public-Domain AND Beerware)
- opensuse-leap 16.0: squid 6.14-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: squid 6.14-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: squid 6.14-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: squid 6.14-160000.1.1 Β· GPL-2.0-or-later
- ubuntu noble: squid-cgi 6.14-0ubuntu0.24.04.4
- ubuntu noble: squid-cgi 6.14-0ubuntu0.24.04.5
- ubuntu questing: squid-cgi 6.14-0ubuntu0.25.10.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms