Skip to main content
Version: 3.13.0

CacheState.stale

The stale method of the CacheState interface returns true if the cached item is stale.

A cached item is stale if its age is greater than its maxAge period.

Syntax

stale()

Parameters

None.

Return value

A boolean which represents whether the cached item is stale or not.