Skip to content

PersistentCacheConfig

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / PersistentCacheConfig

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2809

Persistent cache configuration (IndexedDB/File)

readonly storageName: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2811

Storage name/path


readonly maxSizeBytes: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2813

Maximum total size in bytes


readonly defaultTtlMs: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2815

Default TTL in milliseconds


readonly enableCompression: boolean

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2817

Enable compression


readonly compressionThresholdBytes: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2819

Compression threshold (only compress if larger)


readonly enableEncryption: boolean

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2821

Enable encryption


readonly optional encryptionKey: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2823

Encryption key (required if encryption enabled)