Skip to content

Commit cdd636a

Browse files
committed
MAGETWO-36653: [GitHub] Unable to open home page after successful installation #1212
- added sets no cache header in RequestPreprocessor plugin
1 parent aad627d commit cdd636a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Store/App/FrontController/Plugin/RequestPreprocessor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public function aroundDispatch(
7979

8080
$response = $this->_responseFactory->create();
8181
$response->setRedirect($redirectUrl, $redirectCode);
82+
$response->setNoCacheHeaders();
8283
return $response;
8384
}
8485
}

0 commit comments

Comments
 (0)