Constructor
new StorageCache(config)
Initialize the cache
Parameters:
| Name | Type | Description |
|---|---|---|
config |
the configuration of the cache |
- Source:
Methods
configure(configopt) → {Object}
set cache with customized configuration
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
config |
Object |
<optional> |
The configuration of the cache |
- Source:
Returns:
- The current configuration
- Type
- Object