Skip to content

CacheStoreConfig

Defined in: packages/pipeline-cache/src/interfaces/cache-options.interface.ts:27

Declarative description of a single cache store backend. Use this when you want the module to construct the Keyv adapter for you.

optional namespace?: string

Defined in: packages/pipeline-cache/src/interfaces/cache-options.interface.ts:37

Key namespace/prefix applied to every entry in this store.


optional options?: Record<string, unknown>

Defined in: packages/pipeline-cache/src/interfaces/cache-options.interface.ts:41

Adapter-specific options passed through to the underlying @keyv/* package.


optional ttl?: number

Defined in: packages/pipeline-cache/src/interfaces/cache-options.interface.ts:39

Default time-to-live (milliseconds) for entries written to this store.


type: CacheStoreType

Defined in: packages/pipeline-cache/src/interfaces/cache-options.interface.ts:29

Which backend to build.


optional url?: string

Defined in: packages/pipeline-cache/src/interfaces/cache-options.interface.ts:35

Connection string / URI for the backend, e.g. redis://localhost:6379, postgresql://user:pass@localhost:5432/db, sqlite://./cache.sqlite, or localhost:11211 for memcache. Ignored for memory.