Modification of parent response object from the ESI subrequests

Alexander Lisachenko at
Mon Aug 3 17:00:27 CEST 2015

Hello, dev team!

I want to continue the discussion of issue

I think, that this feature can be very useful for many purposes, like
automatic calculation of last-modified dates for conditional responses,
propagation of statuses from ESI blocks in addtional headers, for example
X-1-Status: 200 OK, X-2-Status: 404 Not Modifed and much more.

I know, that the Varnish streams the context as it fetched, but is it
possible to organize a temporary buffer for the response to buffer it and
to deliver the whole response to the client, while having an access to the
parent block from ESI?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-dev mailing list