From 9588e7cb54d22e6feee3db1545dcd4ad4fde491d Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Sun, 12 Apr 2015 13:45:50 +0800 Subject: [PATCH] Update 72.4. Reload Groovy templates without restarting the container.md --- ....4. Reload Groovy templates without restarting the container.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IX. ‘How-to’ guides/72.4. Reload Groovy templates without restarting the container.md b/IX. ‘How-to’ guides/72.4. Reload Groovy templates without restarting the container.md index e69de29..2908641 100644 --- a/IX. ‘How-to’ guides/72.4. Reload Groovy templates without restarting the container.md +++ b/IX. ‘How-to’ guides/72.4. Reload Groovy templates without restarting the container.md @@ -0,0 +1,3 @@ +### 72.4. 在不重启容器的情况下重新加载Groovy模板 + +如果你正在使用Groovy模板,那就将`spring.groovy.template.cache`设置为false。查看[GroovyTemplateAutoConfiguration](http://github.com/spring-projects/spring-boot/tree/master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/groovy/template/GroovyTemplateAutoConfiguration.java)可以获取其他Groovy自定义选项。