Using multiple backends in Varnish
Using multiple backends in Varnish
This section covers the Varnish basics in a tutorial form. It will cover what Varnish is and how it works. It also covers how to get Varnish up and running. After this section you probably would want to continue with the users guide The Varnish Users Guide.
Using multiple backends in Varnish
How to define and configure backend servers 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
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.
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
varnishlog, varnishncsa and ready-to-use VSL queries
Learn how to configure TLS in Varnish for both client TLS and backend TLS
Learn how to reconfigure the Varnish listening ports to 80 and 443
Learn how to reconfigure the port of your Apache or Nginx web server to run Varnish on the same machine as your web server.
Learn how to start Varnish after installing it
How to generate NCSA compatible access logs for Varnish with varnishncsa.
Learn how to configure systemd services to manage Varnish.
How to measure your Varnish cache performance with varnishlog.
How to troubleshoot Varnish when problems occur.
Monitoring your Varnish installation
Learn varnishtest by examples
The Varnish Configuration Language (VCL) is a domain-specific programming language used by Varnish to control request handling, routing, caching, and several other aspects.
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
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.
Learn how object lifetimes work in Varnish: from TTL, to Grace and Keep.