Skip to content

Commit 9b7282a

Browse files
Merge pull request #6 from Crowdhandler/fd-85469-no-cache-header
Added cache-control header
2 parents 8937efa + 5a05064 commit 9b7282a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/GateKeeper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ public function redirectIfNotPromoted()
182182
$this->debug($this->redirectUrl);
183183
} else
184184
{
185+
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
185186
header('location: '.$this->redirectUrl, true, self::HTTP_REDIRECT_CODE);
186187
exit;
187188
}

0 commit comments

Comments
 (0)