Use non deprecated properties to override web resources cache

Closes gh-24203
This commit is contained in:
Stephane Nicoll 2020-11-18 17:40:35 +01:00
parent 15c44aa45f
commit c86ce27117
1 changed files with 2 additions and 2 deletions

View File

@ -69,8 +69,8 @@ public class DevToolsPropertyDefaultsPostProcessor implements EnvironmentPostPro
properties.put("spring.mustache.cache", "false");
properties.put("server.servlet.session.persistent", "true");
properties.put("spring.h2.console.enabled", "true");
properties.put("spring.resources.cache.period", "0");
properties.put("spring.resources.chain.cache", "false");
properties.put("spring.web.resources.cache.period", "0");
properties.put("spring.web.resources.chain.cache", "false");
properties.put("spring.template.provider.cache", "false");
properties.put("spring.mvc.log-resolved-exception", "true");
properties.put("server.error.include-binding-errors", "ALWAYS");