Skip to content

Interface: FilesCachePluginConfig

Configuration for the AppKit files-cache plugin.

  • BasePluginConfig

[key: string]: unknown

optional host?: string

BasePluginConfig.host


optional invalidationBatchMs?: number

Invalidation debounce window in milliseconds. Defaults to 25ms.


optional maxEntries?: number

Maximum entries retained in each user L1. Defaults to 1,000.


optional maxScopes?: number

Maximum active user scopes retained by the process. Defaults to 256.


optional name?: string

BasePluginConfig.name


optional streamConfig?: StreamConfig

SSE stream configuration for this plugin’s executeStream() calls (buffer sizes, maxEventSize, TTL, heartbeat). Sets the plugin’s StreamManager defaults; a per-call stream config still overrides these. Use it to raise maxEventSize above the 5 MiB default when a stream emits larger events.

BasePluginConfig.streamConfig


optional telemetry?: TelemetryOptions

BasePluginConfig.telemetry


optional ttlMs?: number

Default entry TTL in milliseconds. Defaults to 60 seconds.