LOG IN SIGN UP
Documentation

Functions

These VCL functions are supported by Fastly.

Cryptographic

Fastly provides several functions in VCL for cryptographic- and hashing-related purposes. It is based very heavily on Kristian LyngstĂžl's digest vmod for Varnish 3 (which means you can also refer to that documentation for more detail).

Date and time

By default VCL includes the now variable, which provides the current time (for example, Mon, 02 Jan 2006 22:04:05 GMT). Fastly adds several new Varnish variables and functions that allow more flexibility when dealing with dates and times.

Miscellaneous

Fastly has added several miscellaneous features to Varnish that don't easily fit into specific categories.

Query string manipulation

Fastly provides a number of extensions to VCL, including several functions for query-string manipulation based on Dridi Boukelmoune's vmod-querystring for Varnish.

Randomness

Fastly exposes a number of functions that support the insertion of random strings, content cookies, and decisions into requests.

TLS and HTTP/2

Fastly has added several variables that expose information about the TLS and HTTP/2 attributes of a request.

UUID

The universally unique identifier (UUID) module provides interfaces for generating and validating unique identifiers as defined by RFC4122. Version 1 identifiers, based on current time and host identity, are currently not supported.