Doubt regarding ESI and Set-Cookie

Dridi Boukelmoune dridi at varni.sh
Fri Jun 3 15:55:41 CEST 2016


> My query is : Will varnish pass on the Set-Cookie in HTTP response?

Unfortunately not, ESI processing happens during the body fetch so by
the time you get the include's Set-Cookie it's already too late. The
top response headers have already been sent to the client.



More information about the varnish-misc mailing list