AniLink - v3.0.0
    Preparing search index...

    Interface ResponseCacheStats

    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(), and clear() drop entries but keep the counters, so a dashboard graphing hit rate over time stays monotonic, while entries reflects the current live entry count. The snapshot is frozen: a caller cannot mutate the cache's internal state through it.

    interface ResponseCacheStats {
        entries: number;
        evictions: number;
        expirations: number;
        hits: number;
        misses: number;
    }
    Index
    entries: number

    The number of entries currently live in the cache.

    evictions: number

    How many live entries were evicted by set() under maxEntries pressure.

    expirations: number

    How many expired entries were evicted, encountered on read or removed by the opportunistic write-time sweep.

    hits: number

    How many get() calls returned a live entry.

    misses: number

    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.