File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
app/code/Magento/PageCache/Controller Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ abstract class Block extends \Magento\Framework\App\Action\Action
27
27
*/
28
28
private $ base64jsonSerializer ;
29
29
30
+ /**
31
+ * @var string
32
+ */
33
+ private $ additionalPageCacheHandle = 'additional_page_cache_handle ' ;
34
+
30
35
/**
31
36
* @param \Magento\Framework\App\Action\Context $context
32
37
* @param \Magento\Framework\Translate\InlineInterface $translateInline
@@ -63,6 +68,8 @@ protected function _getBlocks()
63
68
$ blocks = $ this ->jsonSerializer ->unserialize ($ blocks );
64
69
$ handles = $ this ->base64jsonSerializer ->unserialize ($ handles );
65
70
71
+ $ handles [] = $ this ->additionalPageCacheHandle ;
72
+
66
73
$ this ->_view ->loadLayout ($ handles , true , true , false );
67
74
$ data = [];
68
75
You can’t perform that action at this time.
0 commit comments