The Varnish Users Guide¶
The Varnish documentation consists of three main documents:
The Varnish Tutorial explains the basics and gets you started with Varnish.
The Varnish Users Guide (this document), explains how Varnish works and how you can use it to improve your website.
The Varnish Reference Manual contains hard facts and is useful for looking up specific questions.
After The Big Varnish Picture, this Users Guide is organized in sections following the major interfaces to Varnish as a service:
Starting and running Varnish is about getting Varnish configured, with respect to storage, sockets, security and how you can control and communicate with Varnish once it is running.
VCL - Varnish Configuration Language is about getting Varnish to handle the HTTP requests the way you want, what to cache, how to cache it, modifying HTTP headers etc. etc.
Reporting and statistics explains how you can monitor what Varnish does, from a transactional level to aggregating statistics.
Varnish and Website Performance is about tuning your website with Varnish.
Troubleshooting Varnish is for locating and fixing common issues with Varnish.
- The Big Varnish Picture
- Starting and running Varnish
- VCL - Varnish Configuration Language
- VCL Syntax
- Built-in subroutines
- Built-in VCL
- Request and response VCL objects
- Backend servers
- The “none” backend
- Multiple backends
- Backends and virtual hosts in Varnish
- Health checks
- Connection Pooling
- Grace mode and keep
- Separate VCL files
- Using inline C to extend Varnish
- VCL Examples
- Device detection
- Reporting and statistics
- Varnish and Website Performance
- Content composition with Edge Side Includes
- Footnotes about ESI
- Troubleshooting Varnish