forked from magento/magento2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PageCache: async rendering of blocks can corrupt layout cache mag…
…ento#8554 magento#9050 magento#9560 Renamed interface, LayoutCacheKeyInterface made optional in constructor, injected via di.xml, some other little fixes
- Loading branch information
1 parent
bd6ed7c
commit c6e2b39
Showing
7 changed files
with
56 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
lib/internal/Magento/Framework/View/Layout/CacheKeyInterface.php
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
lib/internal/Magento/Framework/View/Layout/LayoutCacheKeyInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
namespace Magento\Framework\View\Layout; | ||
|
||
/** | ||
* Interface LayoutCacheKeyInterface | ||
*/ | ||
interface LayoutCacheKeyInterface | ||
{ | ||
/** | ||
* Add cache key(s) for generating different cache id for same handles | ||
* | ||
* @param array|string $cacheKeys | ||
* @return void | ||
*/ | ||
public function addCacheKeys($cacheKeys); | ||
|
||
/** | ||
* Return cache keys array | ||
* | ||
* @return array | ||
*/ | ||
public function getCacheKeys(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters