keycloak-scim/topics/cache/disable.adoc
Bill Burke 6ace795d4e cache
2016-04-28 19:31:06 -04:00

25 lines
636 B
Text
Executable file

=== Disabling Caching
To disable the realm or user cache, you must edit the `keycloak-server.json` file in your distribution. Where
this file lives depends on your <<fake/../../operating-mode.adoc#_operating-mode, operating mode>>
Here's what the config looks like initially.
[source,json]
----
"userCache": {
"infinispan" : {
"enabled": true
}
},
"realmCache": {
"infinispan" : {
"enabled": true
}
},
----
To disable the cache set the +enabled+ field to false for the cache you want to disable. You must reboot your
server for this change to take effect.