The number of entries currently live in the cache.
How many live entries were evicted by set() under maxEntries pressure.
How many expired entries were evicted, encountered on read or removed by the opportunistic write-time sweep.
How many get() calls returned a live entry.
How many get() calls found no entry for the key, an absent key, or
a live entry that degraded to a miss because its payload could not
be cloned on read.
A point-in-time snapshot of the cache's size and lifetime counters, returned by ResponseCache.stats.
The counters are cumulative for the cache instance's lifetime and never reset:
delete(),deleteMatching(),deleteAllForUrl(), andclear()drop entries but keep the counters, so a dashboard graphing hit rate over time stays monotonic, whileentriesreflects the current live entry count. The snapshot is frozen: a caller cannot mutate the cache's internal state through it.