Annotation Interface CacheRequest


@Retention(RUNTIME) @Target(METHOD) public @interface CacheRequest
This annotation can be used on REST endpoints to set the Cache-Control header to allow the request to be cached by the browser.

It gets consumed by the CacheRequestInterceptor interceptor which sets the Cache-Control header for the response