How long since an object was last accessed

Comments

1 comment

  • Cassandra Dixon

    Hi,

    The variable obj.lastuse works a bit differently in Fastly. Each edge node will have it's own last accessed time. If the object is cached within the node, returned is the relative time in seconds since the object was last requested. If it is not cached, returned is now-lastuse. Except that lastuse is 0 if the cache does not remember seeing the object.

    This variable is available in vcldeliver and vcllog.

Please sign in to leave a comment.