Closed
Description
Spring Boot 2.1.4.RELEASE
As far as I can tell, the property spring.resources.cache.period
can't ever do anything.
ResourceProperties.Cache.Cachecontrol.toHttpCacheControl
will always return an object, therefore this else branch is never taken.
A possible fix is to ensure toHttpCacheControl
returns null
if no properties are set.