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 <[email protected]> wrote:

> Hi,
>
> 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.
>
> Thanks!
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to