ESI processing external URL

Andreas Plesner Jacobsen apj at mutt.dk
Mon Aug 29 14:34:51 CEST 2011


On Mon, Aug 29, 2011 at 02:17:07PM +0200, Jaap van Arragon wrote:
> 
> <esi:include src="http://example.com/test/folder/page.htm?header=true"
> onerror="continue"/>
> 
> The vcl is simply:
> 
> sub vcl_fetch {
>      esi;
> }
> 
> Can somebody tell me why it is looking inside his own varnish and not just
> include the esi url?

ESI is handled like any other request, and thus goes to the backend specified
by your vcl.

You need to add VCL to handle that particular hostname.

-- 
Andreas




More information about the varnish-misc mailing list