diff --git a/vendor/magento/module-graph-ql-cache/Model/Plugin/View/Layout.php b/vendor/magento/module-graph-ql-cache/Model/Plugin/View/Layout.php new file mode 100644 index 000000000000..c2668a5d4d40 --- /dev/null +++ b/vendor/magento/module-graph-ql-cache/Model/Plugin/View/Layout.php @@ -0,0 +1,57 @@ +cacheableQuery->addCacheTags($block->getIdentities()); + } + return $result; + } +} diff --git a/vendor/magento/module-graph-ql-cache/etc/graphql/di.xml b/vendor/magento/module-graph-ql-cache/etc/graphql/di.xml index 1270ba24c94b..f86a823d85b5 100644 --- a/vendor/magento/module-graph-ql-cache/etc/graphql/di.xml +++ b/vendor/magento/module-graph-ql-cache/etc/graphql/di.xml @@ -29,4 +29,7 @@ + + +