cacheStalePeriod property

Duration cacheStalePeriod
final

The time duration in which a cache object is considered 'stale'. When a file is cached but not being used for a certain time the file will be deleted

Defaults to 365 days.

It is used to specify the cache configuration, Config, for CacheManager.

Implementation

final Duration cacheStalePeriod;