Skip to content

Commit 3e21aaf

Browse files
committed
Update caching docs to match breaking changes in v25
In the latest Keycloak version (v25.0.1) the cache options are not build options anymore. They now have to be provided during runtime. Signed-off-by: Diego Garcia Lozano <[email protected]>
1 parent a7ae90c commit 3e21aaf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/guides/server/caching.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ By default, caches are using a UDP transport stack so that nodes are discovered
1818
1919
To explicitly enable distributed infinispan caching, enter this command:
2020
21-
<@kc.build parameters="--cache=ispn"/>
21+
<@kc.start parameters="--cache=ispn"/>
2222
2323
When you start {project_name} in development mode, by using the `start-dev` command, {project_name} uses only local caches and distributed caches are completely disabled by implicitly setting the `--cache=local` option.
2424
The `local` cache mode is intended only for development and testing purposes.
@@ -176,7 +176,7 @@ to change the number of owners accordingly to better fit into your availability
176176
177177
To specify your own cache configuration file, enter this command:
178178
179-
<@kc.build parameters="--cache-config-file=my-cache-file.xml"/>
179+
<@kc.start parameters="--cache-config-file=my-cache-file.xml"/>
180180
181181
The configuration file is relative to the `conf/` directory.
182182
@@ -204,7 +204,7 @@ Transport stacks ensure that distributed cache nodes in a cluster communicate in
204204
205205
To apply a specific cache stack, enter this command:
206206
207-
<@kc.build parameters="--cache-stack=<stack>"/>
207+
<@kc.start parameters="--cache-stack=<stack>"/>
208208
209209
The default stack is set to `udp` when distributed caches are enabled.
210210
@@ -220,7 +220,7 @@ The following table shows transport stacks that are available without any furthe
220220
|udp|UDP|UDP multicast
221221
|===
222222
223-
The following table shows transport stacks that are available using the `--cache-stack` build option and a minimum configuration:
223+
The following table shows transport stacks that are available using the `--cache-stack` runtime option and a minimum configuration:
224224
225225
[%autowidth]
226226
|===
@@ -249,7 +249,7 @@ For more information and links to repositories with these dependencies, see the
249249
250250
To provide the dependencies to {project_name}, put the respective JAR in the `providers` directory and build {project_name} by entering this command:
251251
252-
<@kc.build parameters="--cache-stack=<ec2|google|azure>"/>
252+
<@kc.start parameters="--cache-stack=<ec2|google|azure>"/>
253253
254254
=== Custom transport stacks
255255
If none of the available transport stacks are enough for your deployment, you are able to change your cache configuration file

0 commit comments

Comments
 (0)