Add your own custom Cache for storing your own files.
The cache will be available under Cache.custom.key
.
The cache will only be created if the key is not already in use.
name | type | description |
---|---|---|
key | string |
The unique key of your custom cache. |
A reference to the BaseCache that was created. If the key was already in use, a reference to the existing cache is returned instead.