CACHE::age
Description
Returns the age of the document in the cache, in seconds.
Syntax
CACHE::age
- Returns the age of the document in the cache, in seconds.
Examples
when CACHE_REQUEST {
if { [CACHE::age] > 60 } {
CACHE::expire
log local0. "Expiring content: Age > 60 seconds"
}
}