Are ESI requests limited to originating backend?

Poul-Henning Kamp phk at
Tue Jul 13 20:18:27 CEST 2010

In message <AANLkTinNKP1rT8x71FkHgJby0STPwWlJVRtIJM8GVr5F at>, Lars
 Kellogg-Stedman writes:

>Will <esi:include> in Varnish only fetch content from the backend that
>served the document containing the <esi:include> directive?

No, you can also specify the host part.

Your vcl_recv{} is responsible for setting the right backend based on
the header.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-misc mailing list