Commit 83300b35 authored by Phillip Webb's avatar Phillip Webb

Set additional template cache devtools properties

Update DevToolsPropertyDefaultsPostProcessor to set the following
additional template cache properties to `false`:

	spring.freemarker.cache
	spring.groovy.template.cache
	spring.velocity.cache
	spring.mustache.cache

Fixes gh-3125
parent b47af199
......@@ -42,6 +42,10 @@ class DevToolsPropertyDefaultsPostProcessor implements BeanFactoryPostProcessor,
static {
Map<String, Object> properties = new HashMap<String, Object>();
properties.put("spring.thymeleaf.cache", "false");
properties.put("spring.freemarker.cache", "false");
properties.put("spring.groovy.template.cache", "false");
properties.put("spring.velocity.cache", "false");
properties.put("spring.mustache.cache", "false");
PROPERTIES = Collections.unmodifiableMap(properties);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment