Update 72.5. Reload Velocity templates without restarting the container.md

master
qibaoguang 2015-04-12 13:46:11 +08:00
parent 9588e7cb54
commit c27999b2e2
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
### 72.5. 在不重启容器的情况下重新加载Velocity模板
如果你正在使用Velocity那就将`spring.velocity.cache`设置为false。查看[VelocityAutoConfiguration](http://github.com/spring-projects/spring-boot/tree/master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/velocity/VelocityAutoConfiguration.java)可以获取其他Velocity自定义选项。