This page holds (links to) useful VCL examples.
- The Default VCL with examples and a graphical overview of how a request goes through all the VCL hooks.
- Purging (also see the FAQ)
- Using restarts to try multiple backends
- Using directors for load balancing
- Caching even when cookies are present
- How to cache things longer on Varnish than the client
- Removing some, but not all cookies
- Enable force-refresh from clients
- Redirect using VCL
VCL Syntax
Manually maintained syntax description of VCL
- Varnish 1.1 source:branches/1.1/lib/libvcl/syntax.txt
- Varnish 1.2 source:branches/1.2/lib/libvcl/syntax.txt
Note: This document has been removed from trunk (which has a number of VclSyntaxChanges).
Attachments
- varnish_vcl.pdf (122.4 kB) -
A presentation held by phk in Aalborg 2008-03-25
, added by perbu on 2008-03-26 13:11:48.
