Skip to content

Commit 090bbfe

Browse files
rogerdzsumesh-GL
authored andcommitted
FPC not work when login
1 parent 6bdad31 commit 090bbfe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/PageCache/Model/App/Request/Http/IdentifierForSave.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ public function getValue()
5252
$this->request->isSecure(),
5353
$baseUrl,
5454
$query,
55-
$this->context->getVaryString()
55+
$this->request->get(\Magento\Framework\App\Response\Http::COOKIE_VARY_STRING)
56+
?: $this->context->getVaryString()
5657
];
5758

5859
$data = $this->identifierStoreReader->getPageTagsWithStoreCacheTags($data);

0 commit comments

Comments
 (0)