VCL

From Wikitech
Jump to navigation Jump to search

Varnish Configuration Language, or VCL, is the domain-specific language used for configuring Varnish's caching and request policy.

VCL is compiled by Varnish into C. You can see the C code a VCL file would compile into using varnishd:

$ varnishd -d -f bits.inc.vcl -C