File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
lib/internal/Magento/Framework/App/PageCache Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 7
7
8
8
use Magento \Framework \App \ObjectManager ;
9
9
use Magento \Framework \Serialize \Serializer \Json ;
10
+ use Magento \PageCache \Model \App \Request \Http \IdentifierStoreReader ;
10
11
11
12
/**
12
13
* Page unique identifier
@@ -36,7 +37,8 @@ class Identifier implements IdentifierInterface
36
37
public function __construct (
37
38
\Magento \Framework \App \Request \Http $ request ,
38
39
\Magento \Framework \App \Http \Context $ context ,
39
- Json $ serializer = null
40
+ Json $ serializer = null ,
41
+ private IdentifierStoreReader $ identifierStoreReader
40
42
) {
41
43
$ this ->request = $ request ;
42
44
$ this ->context = $ context ;
@@ -57,6 +59,8 @@ public function getValue()
57
59
?: $ this ->context ->getVaryString ()
58
60
];
59
61
62
+ $ data = $ this ->identifierStoreReader ->getPageTagsWithStoreCacheTags ($ data );
63
+
60
64
return sha1 ($ this ->serializer ->serialize ($ data ));
61
65
}
62
66
}
You can’t perform that action at this time.
0 commit comments