CacheManager.fromConfig()
Home > @backstage/backend-common
> CacheManager
> fromConfig
Creates a new CacheManager instance by reading from the backend
config section, specifically the .cache
key.
Signature:
static fromConfig(config: Config, options?: CacheManagerOptions): CacheManager;
Parameters
Parameter | Type | Description |
---|---|---|
config | Config | The loaded application configuration. |
options | CacheManagerOptions | (Optional) |
Returns: