Syntax Changes in VCL

This page documents the changes in the VclSyntax as they happen.

Post-1.2

Post-1.2 is currently (20080925) source:trunk/varnish-cache

  • The remove action has been renamed to unset.
  • Backend definitions have been simplified. Instead of
    backend b1 { set backend.host = "10.0.0.100";}
    
    one would say
    backend b1 { .host = "10.0.0.100";}
    
  • In vcl_fetch, insert has been renamed to deliver
  • obj.valid no longer exists, only valid objects go to vcl_fetch now.