interface CacheOptions {
    cacheCleanupInterval?: number;
    negativeTtl?: number;
    positiveTtl?: number;
}

Hierarchy (View Summary)

Properties

cacheCleanupInterval?: number

Cache cleanup interval, in milliseconds.

5 minutes

This determines how often expired cache entries are deleted.

negativeTtl?: number

Cache lifetime for unsuccessful retrieval, in milliseconds.

10 seconds

During this period, report the certificate as un-retrievable instead of re-fetching.

positiveTtl?: number

Cache lifetime for successful retrieval, in milliseconds.

1 hour

During this period, return the same certificate instead of re-fetching.