keycloak-scim/server_installation/topics/cache/disable.adoc
2017-02-14 09:57:35 +01:00

26 lines
682 B
Text
Executable file

=== Disabling Caching
To disable the realm or user cache, you must edit the `standalone.xml`, `standalone-ha.xml`,
or `domain.xml` file in your distribution. The location of this file
depends on your <<fake/../../operating-mode.adoc#_operating-mode, operating mode>>.
Here's what the config looks like initially.
[source,xml]
----
<spi name="userCache">
<provider name="default" enabled="true"/>
</spi>
<spi name="realmCache">
<provider name="default" enabled="true"/>
</spi>
----
To disable the cache set the `enabled` attribute to false for the cache you want to disable. You must reboot your
server for this change to take effect.