<font color="#006600"><font face="tahoma,sans-serif">Before trying no-cache header, I used s-maxage=0. Even then, I had a HIT at times :(<br></font></font><br><div class="gmail_quote">On Mon, Oct 8, 2012 at 3:50 PM, Omega BK <span dir="ltr"><<a href="mailto:omegabk@gmail.com" target="_blank">omegabk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Varnish takes care of the s-maxage, you have to send it on your header to specify the duration of the TTL</div>
<div><br></div><div>Best.</div><div><br></div><div><br>Sent from my iPhone</div><div><div class="h5"><div><br>On 8 oct. 2012, at 10:45, Aanchal Gera <<a href="mailto:aanchal.gera@gmail.com" target="_blank">aanchal.gera@gmail.com</a>> wrote:<br>
<br></div><blockquote type="cite"><div><font color="#006600"><font face="tahoma,sans-serif">Ohh, Is it!!!</font></font><div><font color="#006600"><font face="tahoma,sans-serif"><br></font></font></div><div><font color="#006600"><font face="tahoma,sans-serif">So, what would be the best way to tell Varnish that I don't want to cache an ESI fragment?</font></font></div>
<div><font color="#006600"><font face="tahoma,sans-serif"><br></font></font></div><div><font color="#006600"><font face="tahoma,sans-serif">Regards,</font></font></div><div><font color="#006600"><font face="tahoma,sans-serif">Aanchal<br>
</font></font><br><div class="gmail_quote">On Mon, Oct 8, 2012 at 2:08 PM, Andreas Plesner Jacobsen <span dir="ltr"><<a href="mailto:apj@mutt.dk" target="_blank">apj@mutt.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Mon, Oct 08, 2012 at 02:03:55PM +0530, Aanchal Gera wrote:<br>
><br>
> I have set the Cache-Control directives as "no-cache" for an ESI fragment.<br>
> Even then, I receive a HIT from Varnish. How is this possible?<br>
<br>
</div>You'll have to implement no-cache in VCL yourself, it's not honored by default.<br>
<span><font color="#888888"><br>
--<br>
Andreas<br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</font></span></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>varnish-misc mailing list</span><br><span><a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a></span><br>
<span><a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></span></div></blockquote></div></div></div></blockquote>
</div><br>