thymeleaf缓存设置页面调试更新无需重启,每次更改代码刷新一次即可
spring.thymeleaf.cache-period=0
spring.thymeleaf.template.cache=false
# Templates reloading during development
spring.thymeleaf.prefix=file:src/main/resources/templates/
spring.thymeleaf.cache=false
# Static resources reloading during development
spring.resources.static-locations=file:src/main/resources/static/**