Varnish
Varnish is an open-source HyperText Transfer Protocol (HTTP) accelerator for website operators that serves cached pages from memory in front of a web server…
Platform availability
Available on 0 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
36/100 Low
- Maintained
- 0GitHub repository is archived
- Popular
- 724,040 GitHub stars
- Easy to install
- 250 install platforms, install notes, Docker image
- Light to run
- No data
- Security check
- 73no serious findings, CI, tests, OpenSSF Scorecard 3.9/10
Based on 4 of 5 factors.
- GitHub stars
- 4,040
- Open issues
- 149
- Last commit
- 2026-02-16
- Activity
- stale
Checked yesterday - source: GitHub (varnishcache/varnish-cache)
Resources & Compatibility
ARM (e.g. Raspberry Pi) is supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Install Varnish from the package manager On Debian or Ubuntu, run the update and install commands after registering the Varnish repository. This installs the cache program and tools, so Varnish can actually run. source
- Start and enable the Varnish service Run the systemctl enable command with --now to start Varnish immediately and make it start again after a reboot. If you skip this, Varnish can be installed but not running when your site needs the cache. source
- Tell Varnish where your web server is For the Helm chart install, set the backend host and port to the real web server you want Varnish to cache. Without that address, Varnish has nowhere to fetch content from and cannot serve pages. source
- Check upstream repository before building from source The Varnish Cache GitHub repository has moved to https://code.vinyl-cache.org/vinyl-cache/vinyl-cache; if building from source, use that repository or the last usable GitHub tag. source
- Repository moved The Varnish GitHub repo moved to code.vinyl-cache.org/vinyl-cache/vinyl-cache; use the new repo or 'last' tag. source
- Repository moved to Vinyl Varnish development has moved to a successor project called Vinyl. The GitHub repository above is archived and only the release tagged 'last' is usable there. For the current codebase, see https://code.vinyl-cache.org/vinyl-cache/vinyl-cache. source
Fetched 2 days ago - each note links to its source
Variants
Alternatives (3)
- Apache Traffic Server - Formerly a commercial product, Yahoo!
- Squid - Squid is a self-hosted caching web proxy, available as a Helm chart, that stores copies of frequently requested pages.
- nginx - Nginx is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy, and mail proxy server.
Checked 54 days ago - source: AlternativeTo
Common questions
How do I install Varnish on Debian or Ubuntu?
Register the Varnish repository, then run the update and install commands. This installs the cache program and tools needed to run Varnish.
When deploying Varnish with Helm in Kubernetes, how do I tell it where my web server is?
Set the backend host and port to the real web server you want Varnish to cache. Without that address, Varnish has nowhere to fetch content from and cannot serve pages.
Where should I build Varnish from if the GitHub repository has moved?
Check the new upstream repository before building from source. If you need the old GitHub code, use the last usable GitHub tag.
What does a Varnish panic usually mean?
A panic is a controlled crash of a Varnish child process caused by consistency checks in the source code. Most crashes are caught by these checks.
Answers sourced from github.com, www.varnish.org, www.varnish.org, www.varnish.org
Community
- Varnish Cache - web application accelerator, makes your app ... - Reddit (reddit)
- Is there a reason Varnish isn't brought up more around here? - Reddit (reddit)
- Self hosted HTTP cache? : r/selfhosted - Reddit (reddit)
- Self hosted cloudflare alternative : r/selfhosted - Reddit (reddit)
- r/selfhosted on Reddit: NGINX + Redis OR OpenLightSpeed for WordPress ... (reddit)
Collected 49 days ago - public community threads