public function canCacheResponse(Response $response) { return $response->isSuccessful() && $response->canCache(); }