Skip to content

HandlerExceptionResolvers should prevent caching of response [SPR-7334] #11993

@spring-projects-issues

Description

@spring-projects-issues

marc schipperheyn opened SPR-7334 and commented

The WebContentInterceptor allows you to specify the cache seconds for a request. It processes them in the preHandle method.

However, the postHandle method is empty. It should check whether an error was thrown by the controller and prevent caching it there was.


Affects: 3.0.3

Referenced from: commits df5e9b1

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions