Search
Varnish Enterprise

Parallel ESI

Description

Traditionally, all ESI includes in Varnish were fetched in sequential order, one after the other as they are required for delivery.

The improved ESI delivery implementation will seek out all the include fragments and issue backend fetches for all of them concurrently, which in turn significantly reduces the load times for ESI content.

Installation and configuration

Parallel ESI is built into supported Varnish Enterprise, and does not require any additional installation steps.

The esi_limit parameter determines the maximum number of includes (subrequests) in flight at each ESI level for a single delivery. The default value of 10 provides a theoretical maximum of 50 simultaneous subrequests with the default max_esi_depth limit of 5.


®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203