Description:
I am planning to use many Active Rules, Policies and Expressions and I would like to know when, where and how they are cached and if these caching are configurable.
Solution:
The result of an Active Rule, Expression and Active Policy are cached but they are cached for the lifetime of the request only. This cache is not configurable.
In the same way, Active expressions are cached for not more than the lifetime of the request.
This cache gets cleaned up when the Policy Server sends the result back to any Agent.
The Active expressions caching is only done at the Policy Server level. The Web Agent on its side, depending on its configuration, will cache the Authorization result.
Then, Active expressions caching is not configurable and thus, active code can not affect this cache.