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.
Properties
Section titled “Properties”namespace?
Section titled “namespace?”
optionalnamespace?:string
Defined in: packages/pipeline-cache/src/interfaces/cache-options.interface.ts:37
Key namespace/prefix applied to every entry in this store.
options?
Section titled “options?”
optionaloptions?: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.
optionalttl?: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.
optionalurl?: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.