Fix 'spring.resources.cache.period' for WebMvc
Before this change it got overwritten by forwarding an empty CacheControl to Spring. Spring itself sets CacheSeconds already correctly in absence (=null) of a CacheControl. Also: * Fixes bug in WebMvcAutoConfigurationTests.cachePeriod which prevented it to assert anything See gh-16488 Closes gh-16730
Showing
Please register or sign in to comment