PersistentCacheConfig
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / PersistentCacheConfig
Interface: PersistentCacheConfig
Section titled “Interface: PersistentCacheConfig”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2809
Persistent cache configuration (IndexedDB/File)
Properties
Section titled “Properties”storageName
Section titled “storageName”
readonlystorageName:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2811
Storage name/path
maxSizeBytes
Section titled “maxSizeBytes”
readonlymaxSizeBytes:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2813
Maximum total size in bytes
defaultTtlMs
Section titled “defaultTtlMs”
readonlydefaultTtlMs:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2815
Default TTL in milliseconds
enableCompression
Section titled “enableCompression”
readonlyenableCompression:boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2817
Enable compression
compressionThresholdBytes
Section titled “compressionThresholdBytes”
readonlycompressionThresholdBytes:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2819
Compression threshold (only compress if larger)
enableEncryption
Section titled “enableEncryption”
readonlyenableEncryption:boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2821
Enable encryption
encryptionKey?
Section titled “encryptionKey?”
readonlyoptionalencryptionKey:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2823
Encryption key (required if encryption enabled)