From c27999b2e267c1d024ae75d14c0c2660e705897a Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Sun, 12 Apr 2015 13:46:11 +0800 Subject: [PATCH] Update 72.5. Reload Velocity templates without restarting the container.md --- .... Reload Velocity templates without restarting the container.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IX. ‘How-to’ guides/72.5. Reload Velocity templates without restarting the container.md b/IX. ‘How-to’ guides/72.5. Reload Velocity templates without restarting the container.md index e69de29..6ad934b 100644 --- a/IX. ‘How-to’ guides/72.5. Reload Velocity templates without restarting the container.md +++ b/IX. ‘How-to’ guides/72.5. Reload Velocity templates without restarting the container.md @@ -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自定义选项。