Hi @babusankar I tried the same solution and using author to test but its not working for me. It always returns both header in response with no-cache.
@Component@SlingServletFilter(scope = {SlingServletFilterScope.FORWARD}, extensions = { "json" }, methods = {"GET", "HEAD" }, pattern = "/api/assets/...