Variable Support

Implements support for Variables in Varnish. You can use it for strings:

var.set("foo", "bar");

set resp.http.x-foo = var.get("foo");

Floats and ints:

var.set_real("r1", 2);

Ints: var.set_int("i1", 123);

Note: The variables are stored in a simple linked list so if you have thousands of variables you might consider extending the module to use a more sophisticated method for storing data.

Used in production
Varnish version supported: 
Commercial support: 
Varnish Software