obj.tll as string

Anders Vännman anders.vannman at vk.se
Tue Feb 19 13:10:24 CET 2008


I tried this code in vcl_fetch in my vcl.conf, but it doesnt work. We are
running varnish-1.1.2

I get error

String representation of 'obj.ttl' not implemented yet



varnish-misc at projects.linpro.no writes:
>I can't remember if 1.0.4 can do this, but I think that in 1.1.2 you
>can add a header to the object so you can see the ttl:
>
>set obj.http.X-TTL = obj.ttl






More information about the varnish-misc mailing list