Radiator Server Documentation — v10.33.4
cache
Cache action for storing values in a configured cache
Table of Contents
cache
The cache action stores one or more values under a key in a configured cache.
The stored values can be read from AAA context as
cache.<cache-name>[<key>].
Syntax
cache {
cache "CACHE_NAME";
key aaa.identity;
value vars.group;
timeout 5m;
}
| Parameter | Required | Description |
|---|---|---|
cache | Yes | Name of the configured cache to update. |
key | Yes | Cache key expression. |
value | Yes | Value expression to store. Multiple value statements are rejected. To store multiple values, use list syntax, for example value [vars.group, vars.role]; |
timeout | No | Optional duration override for this write. If omitted, a configured cache default timeout is used. |
Action result
The cache action stores cache values and preserves the previous action result.
Table of Contents