Interface CacheOptions

interface CacheOptions {
    checkperiod?: number;
    ttl?: number;
    useCache?: boolean;
}

Properties

checkperiod?: number

The maximum number of items to cache

120
ttl?: number

The maximum age of the cache in seconds

600
useCache?: boolean

Whether the cache should be used

true