Skip to main content

getGlobalCacheManager

Summary

Get the global cache manager instance

Signature

export declare function getGlobalCacheManager(options?: CacheManagerOptions): CacheManager;

Parameters

options

Type: CacheManagerOptions Optional: Yes Cache configuration options (only used on first call)

Returns

Type: CacheManager Get the global cache manager instance

Remarks

The global cache manager is a singleton. Options can only be provided on the first call. If you need to reconfigure, call [object Object] first, or create a new instance with new CacheManager(options) instead.