Interface: ICacheConfig
Defined in: src/types/runtime.ts:36
Controls the LRU cache that keeps loaded miniapp iframes alive across navigation, avoiding re-download and re-bootstrap on revisit.
When omitted from IRuntimeConfig, caching is disabled entirely.
Properties
disabledPackageIds?
optionaldisabledPackageIds?:string[]
Defined in: src/types/runtime.ts:42
Package IDs that should never be cached (e.g., stateful miniapps that must always start fresh)
maxAge?
optionalmaxAge?:number
Defined in: src/types/runtime.ts:40
Maximum age (in milliseconds) before a cached iframe is evicted
maxSize?
optionalmaxSize?:number
Defined in: src/types/runtime.ts:38
Maximum number of miniapp iframes to keep in the cache