We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bc8d2b commit 3192cbfCopy full SHA for 3192cbf
app/code/Magento/PageCache/Model/App/Response/HttpPlugin.php
@@ -43,7 +43,7 @@ public function beforeSendResponse(HttpResponse $subject)
43
44
$currentVary = $this->context->getVaryString();
45
$varyCookie = $this->request->get(HttpResponse::COOKIE_VARY_STRING);
46
- if (isset($varyCookie) && $currentVary !== $varyCookie) {
+ if (isset($varyCookie) && ($currentVary !== $varyCookie)) {
47
$subject->setNoCacheHeaders();
48
}
49
$subject->sendVary();
0 commit comments