allow overriding request/response gatekeepers in cache_view