Using multiple backends in Varnish
Using multiple backends in Varnish
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.
Using multiple backends in Varnish
When your backend requires authorized access via basic authentication, you need to configure the health probe for your backend in VCL to support basic authentication.
Use Varnish's ban mechanism to remove cached objects from the cache.
Use the purge return action in VCL to remove cached objects from the Varnish cache.
How to invalidate and purge your cache
How to accelerate AWS S3 delivery and reduce AWS egress charges with an S3 shield powered by Varnish Enterprise.
Run a Varnish Enterprise 6 EC2 instance on Amazon Web Services using the official machine image for Red Hat
Run a Varnish Enterprise 6 EC2 instance on Amazon Web Services using the official machine image for Ubuntu
This tutorial shows how PowerDNS can be configured as a Global Server Load Balancer in front of a geographically distributed cluster of Varnish nodes.
Learn the basics of HTTP caching and learn how to control the behavior of a web cache by using conventional HTTP headers
How to avoid HTTP to HTTPS redirect loops in Varnish by creating protocol-based cached variations.
Install Varnish 6.0 LTS on Debian.
Install Varnish 6.0 LTS on Alma Linux and Rocky Linux.
Install Varnish 6.0 LTS on CentOS.
Install Varnish 6.0 LTS on Red Hat Enterprise Linux
Install Varnish 6.0 LTS on Ubuntu.
Run Varnish 6.0 LTS on Docker.
Fixing mixed content issues and avoiding the ERR_TOO_MANY_REDIRECTS error in WordPress when using Varnish.
Configuring Varnish for Drupal
Configuring Varnish for Magento
Configuring Varnish for WordPress
Configuring Varnish for Adobe Experience Manager.
Configuring Varnish for ExpressionEngine.
Configuring Varnish for Sitecore CMS.
How to make sure certain Varnish tiers are only accessible by other Varnish tiers.
This tutorial shows how to configure Varnish for different use cases.
varnishlog, varnishncsa and ready-to-use VSL queries
Guide to setting up Hitch with automated and free certificates from Let's Encrypt on CentOS7
How to generate NCSA compatible access logs for Varnish with varnishncsa.
Enabling disk synchronisation of the LMDB database for metadata in Varnish Enterprise's Massive Storage Engine
Learn how to configure systemd services to manage Varnish.
How to install and configure Varnish and the New Relic agent to ingest logs and metrics into the platform
A simple setup to dive into monitoring using tools like Prometheus, Loki & Grafana
How to measure your Varnish cache performance with varnishlog.
How to install and configure Varnish and the Datadog agent to ingest logs and metrics into the platform
How to install and configure Varnish and the Dynatrace agent to ingest logs and metrics into the platform
How to install and configure the Hitch TLS proxy to terminate TLS in Varnish.
How to configure the PROXY protocol in Varnish to capture connection information about the original client.
How to troubleshoot Varnish when problems occur.
Monitoring your Varnish installation
Frequently asked questions about SELinux and Varnish Enterprise
Optimize VST for video-on-demand by ensuring startup objects are served from the edge cache
How to remove cookies in Varnish
How to bypass the cache for specific URLs and URL patterns in Varnish
Trigger vcl_synth and use a synthetic HTTP response to perform a HTTP redirections in Varnish
An example VCL template for Varnish
Learn how to cache POST requests with Varnish
Managing the configuration of systemd services
Logging cache hits and misses by tracking the request type (hit, miss, pass, pipe, synth, or hitmiss) in a custom x-cache request header
The Varnish Configuration Language (VCL) is a domain-specific programming language used by Varnish to control request handling, routing, caching, and several other aspects.
Load the VCL output template for vcl_synth and vcl_backend_error from a file.
Learn about Varnish's default behavior by looking at the various subroutines that are part of the built-in VCL.
Tutorial to understand objects lifetime.
Which version of Varnish should you use?
The Varnish Configuration Language (VCL) is a domain-specific programming language used by Varnish to control request handling, routing, caching, and several other aspects.