# 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 to reduce load and speed up delivery. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6668/varnish

## Description

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 to reduce load and speed up delivery. Its source repository has moved to the Vinyl project, and the original GitHub repository is now archived.

## Platform availability

Available on 0 of 10 platforms.

## Health score

36/100 (Low), based on 4 of 5 factors.
- Maintained: 0 (GitHub repository is archived)
- Popular: 72 (4,040 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 73 (no serious findings, CI, tests, OpenSSF Scorecard 3.9/10)

## Links

- Docker Hub: https://hub.docker.com/r/wodby/varnish
- GitHub: https://github.com/varnishcache/varnish-cache
- Official website: https://www.varnish-cache.org

## 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.

## Alternatives

- 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.

---
Source: Our Local Host (https://ourlocalhost.com/app/6668/varnish), the self-hosted and open-source app directory.
