Disable resource cache when DevTools is enabled

Closes gh-3794
Closes gh-3739
This commit is contained in:
Huang YunKun
2015-08-20 13:56:26 +00:00
committed by Stephane Nicoll
parent 5aa222a5dd
commit 4e410681aa
2 changed files with 14 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ public class DevToolsPropertyDefaultsPostProcessor implements EnvironmentPostPro
properties.put("spring.mustache.cache", "false");
properties.put("server.session.persistent", "true");
properties.put("spring.h2.console.enabled", "true");
properties.put("spring.resources.cache-period", "0");
PROPERTIES = Collections.unmodifiableMap(properties);
}