Update 72.2. Reload Thymeleaf templates without restarting the container.md
parent
09b6449686
commit
166ebcb3c0
|
@ -0,0 +1,3 @@
|
|||
### 72.2. 在不重启容器的情况下重新加载Thymeleaf模板
|
||||
|
||||
如果你正在使用Thymeleaf,那就将`spring.thymeleaf.cache`设置为false。查看[ThymeleafAutoConfiguration](http://github.com/spring-projects/spring-boot/tree/master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfiguration.java)可以获取其他Thymeleaf自定义选项。
|
Loading…
Reference in New Issue