模板引擎缓存

模板引擎,默认开启缓存
开发的时候,需要关闭模板引擎的缓存

在application.properties中配置
spring.thymeleaf.cache=false
Spring boot模板引擎缓存
否则,修改HTML页面之后
刷新浏览器,不会生效

相关文章: