-----Original Message-----
From: Kristian Lyngstøl [mailto:[email protected]] 
Sent: September-21-10 11:14 AM
To: Caunter, Stefan
Cc: Simon Lyall; [email protected]
Subject: Re: Varnish interview

On Tue, Sep 21, 2010 at 4:16 PM, Caunter, Stefan <[email protected]> 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
_______________________________________________
varnish-misc mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc

Reply via email to