Skip to main content
Version: 3.27.2

CacheEntry.staleWhileRevalidate

The staleWhileRevalidate method of the CacheEntry interface returns the time in milliseconds for which a cached item can safely be used despite being considered stale.

Syntax

staleWhileRevalidate()

Parameters

None.

Return value

A number which represents the time in milliseconds for which a cached item can safely be used despite being considered stale.