Skip to content

Commit 5a05064

Browse files
Added cache-control header
1 parent 8937efa commit 5a05064

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)