Skip to content

Commit 3f60168

Browse files
Fix PageCache: async rendering of blocks can corrupt layout cache #8554 #9050 #9560
Adapted PageCache and Framework tests
1 parent efa3edb commit 3f60168

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework/View/Model/Layout

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/View/Model/Layout/Merge.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ public function getScope()
926926
*/
927927
public function getCacheId()
928928
{
929-
return $this->generateCacheId(md5(implode('|',
930-
array_merge($this->getHandles(), $this->layoutCacheKey->getCacheKeys()))));
929+
$layoutCacheKeys = $this->layoutCacheKey->getCacheKeys();
930+
return $this->generateCacheId(md5(implode('|', array_merge($this->getHandles(), $layoutCacheKeys))));
931931
}
932932
}

0 commit comments

Comments
 (0)