Type Alias WithCacheJitterSettings

WithCacheJitterSettings: { defaultJitter?: number }

Settings for the withCacheJitter plugin.

IMPORT_PATH: "@daiso-tech/core/cache/plugins"

Type declaration

  • OptionaldefaultJitter?: number

    The jitter factor as a ratio of the original TTL. For example, 0.2 means the TTL will be randomly adjusted by 20 %. A value of 0 disables jitter entirely.

    0.2