[keycloak-user] Theme caching
Stan Silvert
ssilvert at redhat.com
Fri Aug 30 11:34:17 EDT 2019
I'm not sure if this is what you are asking for, but you can restart the
Keycloak server using a WildFly CLI[1] command:
/deployment=keycloak-server.war/:redeploy
So you could do that without restarting Docker.
Also, you can use the CLI to change the config values of the theme:
/subsystem=keycloak-server/theme=defaults/:write-attribute(name=cacheThemes,value=true)
[1] https://developer.jboss.org/wiki/CommandLineInterface
On 8/30/2019 9:15 AM, Barish Yumerov wrote:
> Hello,
>
> I am running keycloack in a docker container using this iamge:
> jboss/keycloak
>
> I created a few themes, and disabled caching by editing
> ./standalone/configuration/standalone.xml as
>
> <theme>
> <staticMaxAge>-1</staticMaxAge>
> <cacheThemes>false</cacheThemes>
> <cacheTemplates>false</cacheTemplates>
> ...
> </theme>
>
> alghough this, I can see changes only if I restart the docker container.
>
> I even clear all type of caches for the ralm in the admin pannel but
> still I cannot see any changes :(
>
> How I can clear cache without restarting docker container or is there
> any setting that disables caching in dev mode?
>
> Thank you in advance!
>
> Best Regards,
> B Yumerov
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
More information about the keycloak-user
mailing list