<div dir="ltr">Hi,<div><br></div><div style>I'm unclear about the behavior that Varnish will have if there's a <font face="courier new, monospace">return(restart);</font> happening when Varnish is processing an ESI include.</div>
<div style><br></div><div style>If I do a <font face="courier new, monospace">return(restart);</font> in <font face="courier new, monospace">vcl_fetch()</font>, when <font face="courier new, monospace">req.esi_level > 0</font> (meaning that the current request is an <font face="courier new, monospace"><esi:include src="" /></font> being processed by Varnish), will Varnish restart the <b>parent </b>request, or will it restart only the <font face="courier new, monospace"><esi:include /></font> ? </div>
<div style><br></div><div style>My gut tells me that Varnish will only restart the esi processing, can someone confirm that?</div><div style><br></div><div style>In the case the previous statement is true, is there any way I could instruct Varnish to restart the <b>parent</b>?</div>
<div style><b><br></b></div><div style>I feel like restarting the parent request should be possible considering that when Varnish processes an <font face="courier new, monospace"><esi:include /></font>, the <font face="courier new, monospace">req.esi_level > 0</font>, meaning that Varnish is aware that this request has a parent. Although it certainly is way more complicated than that.</div>
<div style><br></div><div style>Thanks for your help!</div><div style>-Hugues</div></div>