How to make Varnish not caching response if they do not have proper cache header?

Ryan Chan ryanchan404 at
Mon Mar 26 12:55:01 CEST 2012


On Sun, Mar 25, 2012 at 6:10 PM, Jonathan Matthews
<contact at>wrote:

> On 25 March 2012 05:15, Ryan Chan <ryanchan404 at> wrote:Your
> responses are probably being cached because of the default
> default_ttl setting, which you'll find detailed a little way down
> .

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.
2. I am using 2.1, so sound like hard coding the ttl is the best choice

Thanks again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list