Interface: ICacheConfig
Defined in: src/types/runtime.ts:37
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:43
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:41
Maximum age (in milliseconds) before a cached iframe is evicted
maxSize?
optionalmaxSize?:number
Defined in: src/types/runtime.ts:39
Maximum number of miniapp iframes to keep in the cache