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
This commit is contained in:
parent
b47af19920
commit
83300b35bf
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue