} $item = CacheCompressor::
compress($item,
$cacheResponse);
$item->
expiresAt($cacheResponse->
getExpires());
$item->
tag($tags);
$this->cache->
save($item);
$this->eventDispatcher->
dispatch( new HttpCacheItemWrittenEvent($item,
$tags,
$request,
$response) );
return $key;
} public function invalidate(Request
$request): void
{ // @see https://github.com/symfony/symfony/issues/48301
} /**
* Cleanups storage.
*/