Skip to content

Commit

Permalink
Fix PageCache: async rendering of blocks can corrupt layout cache mag…
Browse files Browse the repository at this point in the history
…ento#8554 magento#9050 magento#9560

Adapted PageCache and Framework tests
  • Loading branch information
adrian-martinez-interactiv4 committed Sep 22, 2017
1 parent efa3edb commit 3f60168
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internal/Magento/Framework/View/Model/Layout/Merge.php
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ public function getScope()
*/
public function getCacheId()
{
return $this->generateCacheId(md5(implode('|',
array_merge($this->getHandles(), $this->layoutCacheKey->getCacheKeys()))));
$layoutCacheKeys = $this->layoutCacheKey->getCacheKeys();
return $this->generateCacheId(md5(implode('|', array_merge($this->getHandles(), $layoutCacheKeys))));
}
}

0 comments on commit 3f60168

Please sign in to comment.