How to use [cache.list]
The reference page of cache.list has its arguments, constraints and declaration.
Lists all items in cache, and returns to caller.
cache.set:cache-item-key
expiration:5
value:Howdy world
cache.list
This slot also supports the following optional arguments.
- [limit] - Maximum number of items to return.
- [offset] - Offset of where to start returning items.
- Filter as value of node being the filter condition declaring which items to return. See the [cache.clear] slot to understand how it works, since this argument works in the exact same way, assuming your filter is a “namespace”.