Closed
Description
tam sayers opened SPR-9248 and commented
In WebContentInterceptor.preHandle(request, response, handler), the handler type is evaluated for instanceof LastModified to eventually determine whether to add the must-revalidate Cache-Control header or not. The given handler instance is of type HandlerMethod, not the controller instance, so even if the controller implements LastModified when the point is reached to add the header it never is!
Affects: 3.1.1
Issue Links:
- Provide controller method level alternative to WebContentInterceptor [SPR-8550] #13194 Provide controller method level alternative to WebContentInterceptor
Referenced from: commits 68d4a70