On Fri, Jun 22, 2012 at 1:36 PM, X.H.R.F.C. <[email protected]> wrote:
> Is there any way to get variable from regex and setup ttl ?
[...]

You could use the std vmod to convert from string to duration:

https://www.varnish-cache.org/docs/trunk/reference/vmod_std.html#duration

-- 
[]'s
Hugo
www.devin.com.br

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to