Skip to content

Commit 3c8c8bd

Browse files
Add Vary Accept-Language header (#108)
1 parent 28a5517 commit 3c8c8bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Controllers/FallbackController.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ protected function redirectResponse()
4141
}
4242

4343
return Redirect::to($localizedUrl, $this->getRedirectStatusCode())
44-
->header('Cache-Control', 'no-store, no-cache, must-revalidate');
44+
->header('Cache-Control', 'no-store, no-cache, must-revalidate')
45+
->header('Vary', 'Accept-Language');
4546
}
4647

4748
/**

0 commit comments

Comments
 (0)