ltm rule command CACHE age
iRule(1) BIG-IP TMSH Manual iRule(1)
CACHE::age
Returns the age of the document in the cache.
SYNOPSIS
CACHE::age
DESCRIPTION
Returns the age of the document in the cache, in seconds.
CACHE::age
* Returns the age of the document in the cache, in seconds.
RETURN VALUE
Returns the age of the document in the cache, in seconds.
VALID DURING
EXAMPLES
when CACHE_REQUEST {
if { [CACHE::age] > 60 } {
CACHE::expire
log local0. "Expiring content: Age > 60 seconds"
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-9.0.3 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)