Hello,<div><br><br><div class="gmail_quote">On Sun, Mar 25, 2012 at 6:10 PM, Jonathan Matthews <span dir="ltr"><<a href="mailto:contact@jpluscplusm.com">contact@jpluscplusm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 25 March 2012 05:15, Ryan Chan <<a href="mailto:ryanchan404@gmail.com">ryanchan404@gmail.com</a>> wrote:Your responses are probably being cached because of the default</div></div>
default_ttl setting, which you'll find detailed a little way down<br>
<a href="https://www.varnish-cache.org/docs/3.0/reference/varnishd.html#run-time-parameters" target="_blank">https://www.varnish-cache.org/docs/3.0/reference/varnishd.html#run-time-parameters</a>.<br>
<br></blockquote><div><br></div><div><br></div><div>1. I am wondering why `default_ttl of 120s is a good thing`, if the backend don't specify the ttl, shouldn't just pass it and not cache it would be the safest option? Hard coding 120s sound evil to me.</div>
<div>2. I am using 2.1, so sound like hard coding the ttl is the best choice then?</div><div><br></div><div>Thanks again.</div><div><br></div></div></div>