[id='acl-cache_{context}']
= Access control list (ACL) cache

{brandname} caches roles that you grant to users internally for optimal performance.
Whenever you grant or deny roles to users, {brandname} flushes the ACL cache to ensure user permissions are applied correctly.

If necessary, you can disable the ACL cache or configure it with the `cache-size` and `cache-timeout` attributes.

.XML
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::xml/authorization_acl_cache.xml[]
----

.JSON
[source,json,options="nowrap",subs=attributes+,role="secondary"]
----
include::json/authorization_acl_cache.json[]
----

.YAML
[source,yaml,options="nowrap",subs=attributes+,role="secondary"]
----
include::yaml/authorization_acl_cache.yaml[]
----

[role="_additional-resources"]
.Additional resources
* link:{configdocroot}[{brandname} configuration schema reference]
