fetchWithTrustedCertificatesAsync has 125 call sites and none of them pass a dispatcher, so every HTTP request Homarr makes - every integration poll, every proxied image - built a brand new EnvHttpProxyAgent. An agent owns its connection pool and its TLS session cache, so a fresh one per request means a full TLS handshake every time and no keep-alive reuse at all. Measured against a local TLS server, 60 sequential requests: fresh agent per request 5.11 ms/req 60 TLS handshakes one shared agent 1.69 ms/req 2 TLS handshakes 3.0x faster and 30x fewer handshakes on loopback; over a real network the gap is larger, since that is where handshake round-trips actually cost something. Agent construction itself is cheap (0.004 ms, 1.7 KiB) because undici builds the TLS store lazily at connect time - so the cost was never construction, it was the handshake that a fresh pool forces. The trust material is still read on every call and the cached agents are keyed on a hash of it, so adding or removing a certificate - including by dropping a file into the mounted folder rather than going through the UI - takes effect on the very next request, exactly as before. Superseded agents are closed so their idle sockets are released.
Live Demo 🎮 • Install 💻 • Translations 🈺 • Discord 👋
- 🖌️ Highly customizable with an extensive drag and drop grid system
- ✨ Integrates seamlessly with your favorite self-hosted applications
- 📌 Easy and fast app management - no YAML involved
- 👤 Detailed and easy to use user management with permissions and groups
- 👥 Support for single sign on via OIDC / LDAP
- 🙊 Safe encryption using BCrypt and AES-256-CBC for your valuable data
- 🕔 Realtime widget updates using WebSockets, tRPC and Redis
- 🔍 Search through thousands of data points in supported integrations or your data in Homarr using the fast built-in search
- 🦞 Icon picker with over 11K icons
- 🚀 Compatible with any major consumer hardware (x86, Raspberry Pi, old laptops, ...) and most OS (Windows, Linux, TrueNAS, Unraid)
- 🖥️ Extensive Kubernetes support with Helm for efficient scaling & high reliability
Please click here for official installation instructions
Homarr is a free-to-use open source project maintained by volunteers and developers from all over the world.
We publish under the Apache License 2.0 license which allows commercial usage.
We invest multiple hours daily in providing support, developing Homarr, integrating to third party software and more.
We also pay for licensing and server hosting fees.
Please consider helping us cover these costs to enable the future development of Homarr. Thank you!
Please click here to sponsor us at OpenCollective
You can also support us by helping with translating the entire project to as many languages as possible or contributing directly to the code or documentation. Please read our Contribution Guidelines. All contributions, regardless of their size or scope, are welcome and highly appreciated! Thank you ❤️
Sponsors
Thanks to your generous sponsors, we can continue to build Homarr. Check them out for high-quality and easy-to-use development tools. Feel free to contact us at homarr-labs@proton.me if you wish to become a sponsor.





