The maxAge method of the CacheEntry interface returns the time in milliseconds for which the cached item is considered fresh.
Parametersâ
None.
Return valueâ
A number which represents the time in milliseconds for which the cached item is considered fresh.