Closed
Description
Manuel Bleichenbacher opened SPR-14053 and commented
When using Spring Security and setting a cache period for specific resource (see http://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/#headers-cache-control), inconsistent HTTP headers are issued as Spring security insert Expires: 0
and the Expires
header is not reset.
The fix could probably be similar to #17843.
Affects: 4.2.5
Issue Links:
- Regression: ResourceHandlerRegistration setCachePeriod doesn't set the correct response header anymore [SPR-14005] #18577 Regression: ResourceHandlerRegistration setCachePeriod doesn't set the correct response header anymore
- Reset Pragma header in WebContentGenerator when caching resources [SPR-13252] #17843 Reset Pragma header in WebContentGenerator when caching resources
- Server-side HTTP caching improvements [SPR-11792] #16413 Server-side HTTP caching improvements
Referenced from: commits ed34ea4, 15fe827
0 votes, 5 watchers