keycloak-scim/topics/cache/disable.adoc

29 lines
633 B
Text
Raw Normal View History

2016-04-30 04:39:32 +00:00
2016-04-28 23:31:06 +00:00
=== 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": {
"default" : {
2016-04-28 23:31:06 +00:00
"enabled": true
}
},
"realmCache": {
"default" : {
2016-04-28 23:31:06 +00:00
"enabled": true
}
},
----
2016-04-29 20:12:12 +00:00
To disable the cache set the `enabled` field to false for the cache you want to disable. You must reboot your
2016-04-28 23:31:06 +00:00
server for this change to take effect.