HandlerExceptionResolvers should prevent caching of response [SPR-7334] #11993
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
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
The text was updated successfully, but these errors were encountered: