"now" in VCL

Tollef Fog Heen tfheen at varnish-software.com
Mon Aug 30 08:25:35 CEST 2010


]] Frank Gruellich 

| root at floor [~] $ cat foo.vcl
| sub vcl_recv {
|         if (now)
|         {
|                 set req.backend = localhost;
|         } else {
|                 set req.backend = localhost;
|         }
| }

This VCL snippet doesn't make any sense; what are you trying to
accomplish?

-- 
Tollef Fog Heen
Varnish Software
t: +47 21 54 41 73




More information about the varnish-misc mailing list