diff --git a/lib/internal/Magento/Framework/App/PageCache/Version.php b/lib/internal/Magento/Framework/App/PageCache/Version.php index 272ad8ce5c02f..b5327b940b42e 100644 --- a/lib/internal/Magento/Framework/App/PageCache/Version.php +++ b/lib/internal/Magento/Framework/App/PageCache/Version.php @@ -75,7 +75,7 @@ protected function generateValue() */ public function process() { - if ($this->request->isPost()) { + if ($this->request->isPost() || is_null($this->cookieManager->getCookie(self::COOKIE_NAME))) { $publicCookieMetadata = $this->cookieMetadataFactory->createPublicCookieMetadata() ->setDuration(self::COOKIE_PERIOD) ->setPath('/')