Updated

Technology · Servers

Varnish

varnish-cache.org

Varnish Cache is an open-source HTTP accelerator. It is a reverse caching proxy that sits in front of your origin server and answers repeat requests from memory.[1]

Varnish is a high-performance HTTP reverse proxy and web application accelerator. It works by caching HTTP requests in memory, significantly reducing the load on web servers and databases. Varnish offers features like flexible configuration through its domain-specific language (VCL), health checking of backend servers, and support for various caching strategies. Its ability to handle high traffic loads and improve response times makes it popular among large-scale websites and content-heavy applications looking to optimize their performance and reduce server load.

Varnish belongs toCachingcategory.

What it is

A reverse caching proxy in front of your origin server[1]

HTTPS

TLS is terminated inside Varnish, with no sidecar[1]

Rules language

Caching policy is written in VCL, the Varnish Configuration Language[1]

License

Free and open source under the BSD-2-Clause license[1]

156websites

use it — 6.1% of the 2,560 websites we scanned in the last 12 months

#1of 8

tools in its category seen in our scans (we recognize 20)

54public pages

on UptimeCard — open any of them to see how that site is doing

In short: a free cache you run yourself in front of your web server. You write the caching rules, so it suits teams that manage their own servers; it runs on Linux only.[1]

5.11% of all websites we track run Varnish▼ 0.02 points since 20 Sep

Should you use Varnish?

The 10-second version, from the vendor’s own pages and what we see in our scans

Varnish fits if…

  • You run your own servers and want repeat requests answered from memory[1]
  • You deploy with containers or Kubernetes[1]
Caching rules are written in VCL, so someone on your team must maintain them[1]
Packages exist for Linux only; there is no Windows build on the install list[1]
Releases reach end of life on a fixed date, so plan upgrades[2]

Support and help for Varnish

How the vendor says you can reach it, and the public help community

Discord

A Discord server for questions about configuration, HTTP and vmods[1]

Stack Overflow

Questions and answers about Varnish and VCL under two tags[1]

Commercial support

Hands-on help is sold by Varnish Software, the company behind Varnish[1]

Stack Overflow

2,098 questions[3][4]

65% have an upvoted answer. [varnish] questions

Varnish versions

The newest release, the series that still gets fixes, and what changed

Latest release

9.1.0[2]

Released 23 Sept 2026

Maintained series

9.1

Three release lines are supported; 9.1.0 is supported until 2027-09-30 and every older release is end of life[2]

What Varnish sites add on top

How many of the 156 Varnish sites we scanned also run each tool, grouped by what the tool does

Tag manager

Google Tag Manager
74%115 sites

Analytics

Google Analytics
55%85 sites
Facebook Pixel
19%30 sites
Linkedin Insight Tag
17%27 sites

Cookie consent

OneTrust
24%38 sites

Search visibility

Yoast SEO
17%27 sites

The full bar means every Varnish site. A site can run several tools for one job, so the shares of tools in one group can add up to more than 100%.

How Varnish sites protect themselves

Share of the 156 sites we scanned that run each protection

HSTS83% · 129 sites

HTTP Strict Transport Security (HSTS) informs browsers that the site should only be accessed using HTTPS

reCAPTCHA26% · 40 sites

reCAPTCHA is a free service from Google that helps protect websites from spam and abuse

Protections add up, they do not replace each other: a site can run all of them.

What sites use Varnish for

An estimate from UptimeCard's technology map of 47 public sites

Runs the whole site36 sites

acquia.com · acumatica.com · allopneus.com

Runs the marketing site10 sites

airship.com · bamboohr.com · blend.com

Publishes a blog or resources1 sites

granicus.com

Rough guide, not a measurement: each description is written automatically from the site’s technology stack and the site has not confirmed it. A site is counted once, in the first group its description fits (shop, help and docs, blog, marketing site; otherwise the whole site). Descriptions that only guess (“likely”, “may”) are left out.

The speed trap: what fast Varnish sites do differently

52 public Varnish sites we measured, split by how fast their page loads

Fastest quarter

2.9 stypical page load time

2.3 MB page · 140 requests

Slowest quarter

8.4 stypical page load time

5.2 MB page · 133 requests

What differs between the two groups

Extras on the site
Cloudflare46%23%
Fastly54%69%
Read this as a pattern, not a cause. The sites in the slower group more often add the extras above. Varnish itself is not what separates the two groups.

At a glance

UptimeCard's own scans and tests of 2,560 websites · refreshed weekly

How Varnish sites scoreout of 100 · hover or tap a score for details

44PerformancePooraverage site: 5089AccessibilityGoodaverage site: 8981Best practicesGoodaverage site: 9392SEOGoodaverage site: 92

Page load time

Loads about 26% slower than the average site

Varnish sites
5.4 s
All sites
4.3 s

Most Varnish sites load in 4.1–7.2 s. Home page weight: 2.9 MB vs 3.3 MB for all sites. 52 public sites measured.

Where are they hosted?

Mostly Fastly and Amazon Web Services

  • Fastly50%
  • Amazon Web Services11%
  • Cloudflare9%
  • Google Cloud7%
  • Other22%
United States 63%Canada 20%Germany 4%

Who uses it?

Technology and Software is the biggest group

Technology and Software54%
Business Services15%
Educational Resources7%
Cybersecurity4%

Share of 54 classified public sites. “× average” compares with all 961 public sites.

Browser-security check

57% of graded sites pass

8of 14 score B or better

Rates each site’s own security settings, not Varnish. 14 public sites graded so far.

How Varnish sites are built

Closest partners. The number says how many times more often the tool runs on Varnish sites than on an average website. Hover a partner for its share of sites.

MariaDB16×Pantheon16×Fastly16×Drupal8×Nginx3×

Stacks we see most. Tools that tend to run together with Varnish on the same websites. The percentage is the share of all 156 Varnish sites that run the whole stack.

3 stacks · swipe, drag or use the arrows
#1

Varnish + Fastly + WordPress + OneTrust + Yoast SEO

5.1%8 of 156 sites
#2

Varnish + Fastly + Yoast SEO + WordPress Block Editor + Max Mega Menu

2.6%4 of 156 sites
#3

Varnish + Fastly + Drupal + Marko

2.6%4 of 156 sites

Similar tools in its category

Caching: 20 tools known, 8 seen in our scans

How websites combine Varnish with other tools

Relationships found on the websites that use it, from the same map status pages show.

Complements another tool 42Integrates with another 27Built on a platform 12Needs another tool 5Overlaps with another 1

Who is behind Varnish

From its own pages and public records, with sources

Developed by

Varnish Software[1]

Stockholm[1]

Questions about Varnish

What is Varnish Cache?
An open-source HTTP accelerator: a reverse caching proxy that sits in front of your origin and serves cached responses from memory.[1]
Is Varnish Cache free?
Yes. It is free and open source under the BSD-2-Clause license. Commercial support is sold by Varnish Software.[1]
How do I install it?
Varnish Cache is available as a Docker image, a Kubernetes Helm chart and native DEB and RPM packages.[1]
Does it handle HTTPS?
Yes. It terminates TLS in-process, without a separate proxy next to it.[1]
How many websites use Varnish?
We found Varnish on 156 of the 2,560 websites we scanned in the last 12 months (6.1%). 54 of them have a public status page.
What is Varnish often used with?
Among the websites we scan, Varnish is often found alongside Google Tag Manager (73.7% of its sites), PHP (50% of its sites), Nginx (44.2% of its sites).
What are the alternatives to Varnish?
Other caching tools we recognize include WP Rocket, Redis Object Cache, W3 Total Cache, Google PageSpeed.

Is your website built with Varnish?

UptimeCard checks it around the clock, tells you the minute it stops answering, and gives your visitors a status page.