Tutorial Tags: vcl

Bypassing the cache for specific URL patterns

How to bypass the cache for specific URLs and URL patterns in Varnish

Performing HTTP redirections in Varnish

Trigger vcl_synth and use a synthetic HTTP response to perform a HTTP redirections in Varnish

Using multiple backends in Varnish

Using multiple backends in Varnish

Banning content from Varnish

Use Varnish's ban mechanism to remove cached objects from the cache.

Purging content from Varnish

Use the purge return action in VCL to remove cached objects from the Varnish cache.

Configuring Varnish for Drupal

Configuring Varnish for Drupal

Configuring Varnish for Magento

Configuring Varnish for Magento

Configuring Varnish for WordPress

Configuring Varnish for WordPress

Example VCL template

An example VCL template for Varnish

Avoiding HTTP to HTTPS redirect loops in Varnish

How to avoid HTTP to HTTPS redirect loops in Varnish by creating protocol-based cached variations.

Configuring Varnish for Adobe Experience Manager

Configuring Varnish for Adobe Experience Manager.

Configuring Varnish for ExpressionEngine

Configuring Varnish for ExpressionEngine.

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.

Load a synthetic output template from a file

Load the VCL output template for vcl_synth and vcl_backend_error from a file.

Varnish built-in VCL

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

Using basic authentication in VCL backend probes

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.