dynamic themed views and template caching (bug or feature?)

37 views
Skip to first unread message

Kapetanakis Giannis

unread,
Dec 24, 2021, 9:03:38 AM12/24/21
to CAS Community
I've enabled Dynamic Themes and Themed Views according to https://apereo.github.io/cas/6.4.x/ux/User-Interface-Customization-Themes.html

if spring.thymeleaf.cache is true (default)

then first visit loads the correct themed view but next visit (on default theme) overrides the themed view which does not appear again.

If I set spring.thymeleaf.cache=false then everything works as expected.

I' only overridden src/main/resources/templates/custom-theme/fragments/loginform.html
to specify $screen.welcome.instructions.custom for specific services.

Don't know if this is normal, just thought I should report it.

Maybe a comment about this should be added on https://apereo.github.io/cas/6.4.x/ux/User-Interface-Customization-Themes.html#themed-views

G

Reply all
Reply to author
Forward
0 new messages