Radiator Server Documentation — v10.34.1
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;
}
ParameterRequiredDescription
cacheYesName of the configured cache to update.
keyYesCache key expression.
valueYesValue expression to store. Multiple value statements are rejected. To store multiple values, use list syntax, for example value [vars.group, vars.role];
timeoutNoOptional 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.