Tutorials

Here you will find a collection of tutorials and VCL examples that cover the most common Varnish use cases. These range from basic installation guides to advanced VCL tutorials.

Backends

Cache invalidation

cloud

DNS

HTTP

HTTP caching basics

Learn the basics of HTTP caching and learn how to control the behavior of a web cache by using conventional HTTP headers

Tags: http (2)

installations

integrations

Ops

MSE Database Sync

Enabling disk synchronisation of the LMDB database for metadata in Varnish Enterprise's Massive Storage Engine

Tags: mse (1) ops (28)

VCL

SELinux FAQ

Frequently asked questions about SELinux and Varnish Enterprise

Tags: ops (28) vcl (29)
Logging cache hits and misses

Logging cache hits and misses by tracking the request type (hit, miss, pass, pipe, synth, or hitmiss) in a custom x-cache request header

Tags: vcl (29)
Varnish Configuration Language (VCL)

The Varnish Configuration Language (VCL) is a domain-specific programming language used by Varnish to control request handling, routing, caching, and several other aspects.

Tags: vcl (29)
Varnish built-in VCL

Learn about Varnish's default behavior by looking at the various subroutines that are part of the built-in VCL.

Tags: vcl (29)

Un-categorized

Testing Varnish with varnishtest

The Varnish Configuration Language (VCL) is a domain-specific programming language used by Varnish to control request handling, routing, caching, and several other aspects.

Tags: testing (1) vtc (1)