private function setEtag(Request $request, Response $cachedResponse)
    {
        if ($etag = $cachedResponse->getHeader('ETag')) {
            $request->addHeader('If-None-Match', $etag);
        }
    }