Varnish interview

Caunter, Stefan scaunter at topscms.com
Tue Sep 21 17:19:17 CEST 2010


-----Original Message-----
From: Kristian Lyngstøl [mailto:kristian at varnish-software.com] 
Sent: September-21-10 11:14 AM
To: Caunter, Stefan
Cc: Simon Lyall; varnish-misc at varnish-cache.org
Subject: Re: Varnish interview

On Tue, Sep 21, 2010 at 4:16 PM, Caunter, Stefan <scaunter at topscms.com> wrote:
> It is an interesting blog post, but it incorrectly implies that varnish
> cache timing is controlled by the Cache-control header; client browser
> behaviour is controlled by this header, not varnish.

> Varnish reads the Cache-Control header and uses s-maxage, max-age or
> Expires: as the TTL. What you set in vcl_fetch _overrides_ that. If
> you do not modify ttl in vcl_fetch, Varnish will use the Cache-Control
> header.

Thanks for the clarification. Our webapp does not set it, so I had not seen this behaviour.

Am I correct that we would see a two minute ttl in the absence of those headers?

- Stef


More information about the varnish-misc mailing list