Set beresp.ttl based on Cache Control header
Roberto O. Fernández Crisial
roberto.fernandezcrisial at gmail.com
Fri Mar 30 00:43:58 CEST 2012
Hi fatblowfish (?),
Maybe you should try with something like:
if req.url ~ REGEX ( set beresp.ttl == TIME)
On vcl_fetch subrutine.
All the best,
Roberto (a.k.a. @rofc)
On Thu, Mar 29, 2012 at 7:34 PM, fatblowfish <fatblowfish at gmail.com> wrote:
> I'm pretty much a Varnish 3 newb...
> Would it be a good idea to set the beresp.ttl for a specific url based on
> the cache control header, if present and set public? What can be the
> tradeoff for doing that?
> Any hints/examples are appreciated too.
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc