r/SpringBoot • Senior Dev • Jun 11 '26

News Spring Boot 4.1.0 available now

https://spring.io/blog/2026/06/10/spring-boot-4
106 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/_PM_ME_PANGOLINS_ Jul 08 '26

You don't need anything special for that. Just set spring.thymeleaf.cache=false.

1

u/wimdeblauwe Jul 08 '26

That does work for the simple cases indeed. But if you want to have fast reload for CSS changes, or want to use Tailwind CSS, then you need something more.

1

u/_PM_ME_PANGOLINS_ Jul 08 '26

Simply press Ctrl+Shift+R, or disable cache in browser dev controls.

Tailwind CSS

First time I've looked at it, and it's one giant anti-pattern of non-semantic classes.