fix cached_view to work with the response body rather than the response itself