Skip to Content
APIConfigurationInterface: CacheManagerConfig

Interface: CacheManagerConfig

Configuration for the CacheManager

Properties

configs?

optional configs: Partial<Record<CacheType, Partial<CacheConfig>>>;

Custom configurations per cache type


maxStorageBytes?

optional maxStorageBytes: number;

Maximum storage size in bytes for localStorage (default: 5MB)


persistent?

optional persistent: boolean;

Enable localStorage persistence

Last updated on