cache.* slots
6 slots, each with its own page and JSON declaration. See how this reference is built.
| Slot | Description |
|---|---|
cache.clear |
Clears cached items matching the optional filter. |
cache.count |
Counts cached items matching the optional filter. |
cache.get |
Returns a cached value by key. |
cache.list |
Lists cached keys matching the optional filter. |
cache.set |
Stores a value in the in-memory cache under a key, with an optional sliding expiration. |
cache.try-get |
Returns a cached value by key if it exists, or creates a new cached item and returning it. |