obj.ttl not available in vcl_deliver
AD
straightflush at gmail.com
Tue Mar 22 03:39:50 CET 2011
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 <kbrownfield at google.com>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 <straightflush at gmail.com> 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
>> varnish-misc at varnish-cache.org
>> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110321/8bec0f02/attachment-0003.html>
More information about the varnish-misc
mailing list