function Store::generateContentDigest
Returns content digest for $response.
1 call to Store::generateContentDigest()
- Store::write in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Writes a cache entry to the store for the given Request and Response.
File
-
vendor/
symfony/ http-kernel/ HttpCache/ Store.php, line 239
Class
- Store
- Store implements all the logic for storing cache metadata (Request and Response headers).
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
protected function generateContentDigest(Response $response) : string {
return 'en' . hash('xxh128', $response->getContent());
}