Varnish interview

Kristian Lyngstøl kristian at varnish-software.com
Tue Sep 21 17:13:30 CEST 2010


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.

- Kristian




More information about the varnish-misc mailing list