I have developed a custom theme which works fine. It is deployed as an archive as described in the docs.
However when I deploy a new version, the old resources (JS files in a
resources/react folder) are still being loaded. Even after a server restart (docker container restart), it still loads the old resources.
I am aware of disabling theme caching and this is the only option for the moment. By doing so, the new resources are loaded. But I don’t like this in a production environment.
The weird thing is: if I re-enable theme caching, the old resources are loaded again.
Can anyone help?
Running Keycloak 12.0.2