You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using Spring Boot 2.4.4 with Spring MVC to build an application that serves static resources. We noticed that although we set spring.web.resources.cache.use-last-modified=false, the server adds a Last-Modified header.
Looking at the source, the property only seems to be used in WebFluxAutoConfiguration and not in WebMvcAutoConfiguration (https://github.com/spring-projects/spring-boot/search?q=setuselastmodified). Is this intentional or an oversight?
The text was updated successfully, but these errors were encountered:
We're using Spring Boot 2.4.4 with Spring MVC to build an application that serves static resources. We noticed that although we set
spring.web.resources.cache.use-last-modified=false
, the server adds aLast-Modified
header.Looking at the source, the property only seems to be used in
WebFluxAutoConfiguration
and not inWebMvcAutoConfiguration
(https://github.com/spring-projects/spring-boot/search?q=setuselastmodified). Is this intentional or an oversight?The text was updated successfully, but these errors were encountered: