varnish vcl syntax

Hugo Cisneiros (Eitch) hugo.cisneiros at gmail.com
Fri Jun 22 20:28:21 CEST 2012


On Fri, Jun 22, 2012 at 1:36 PM, X.H.R.F.C. <xhrfc at yahoo.com> 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



More information about the varnish-misc mailing list