grosser.it
Setting dynamic ttl from varnish headers in vcl
Objective: Turn “6m” into 6*60 set req.http.X-ttl = “60s” … call set_ttl … #set cached obj.ttl from req.url.X-ttl sub set_ttl{ #TODO } First version: converting …