Skip to content

Reset Expires header in WebContentGenerator when caching resources [SPR-14053] #18625

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

Referenced from: commits ed34ea4, 15fe827

0 votes, 5 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions