Returns content digest for $response.
Parameters
Response $response:
Return value
string
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/Store.php, line 215
Class
- Store
- Store implements all the logic for storing cache metadata (Request and Response headers).
Namespace
Symfony\Component\HttpKernel\HttpCache
Code
protected function generateContentDigest(Response $response) {
return 'en' . sha1($response
->getContent());
}