Skip to content

Commit

Permalink
Add Vary Accept-Language header (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangarcess authored Mar 17, 2024
1 parent 28a5517 commit 3c8c8bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Controllers/FallbackController.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ protected function redirectResponse()
}

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

/**
Expand Down

0 comments on commit 3c8c8bd

Please sign in to comment.