Modification of parent response object from the ESI subrequests

Alexander Lisachenko lisachenko.it at gmail.com
Mon Aug 3 17:00:27 CEST 2015


Hello, dev team!

I want to continue the discussion of issue
https://www.varnish-cache.org/trac/ticket/1766

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: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20150803/42c0b329/attachment.html>


More information about the varnish-dev mailing list