hmm, it seems beresp.* is available in vcl_fetch, but not vcl_deliver. I
need obj.ttl in vcl_deliver (to get the TTL as it is in the cache, not from
the backend).



On Mon, Mar 21, 2011 at 10:30 PM, Ken Brownfield <[email protected]>wrote:

> Per  lots of posts on this list, obj is now baresp in newer Varnish
> versions.  It sounds like the documentation for this change hasn't been
> fully propagated.
> --
> kb
>
>
>
> On Mon, Mar 21, 2011 at 18:49, AD <[email protected]> wrote:
>
>> Hello,
>>
>>  Per the docs it says that all the obj.* values should be available in
>> vcl_hit and vcl_deliver, but when trying to use obj.ttl in vcl_deliver i get
>> the following error:
>>
>>  Variable 'obj.ttl' not accessible in method 'vcl_deliver'.
>>
>> This is on Ubuntu, Varnish 2.1.5.  Any ideas ?
>>
>> _______________________________________________
>> varnish-misc mailing list
>> [email protected]
>> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to