CacheManager
Home > @backstage/backend-common
> CacheManager
Implements a Cache Manager which will automatically create new cache clients for plugins when requested. All requested cache clients are created with the connection details provided.
Signature:
class CacheManager
Methods
Method | Modifiers | Description |
---|---|---|
forPlugin(pluginId) | Generates a PluginCacheManager for consumption by plugins. | |
fromConfig(config, options) | static | Creates a new CacheManager instance by reading from the backend config section, specifically the .cache key. |