Description
Firefox ignores caching headers as meta elements.
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Expires" content="0">
Due to this Firefox loads index.html from cache and the user won't be redirected to the Knox login page when there is no Cookie present and the user can't use the homepage.
The solution is to add the below caching headers to the /gateway/homepage/home/ endpoint. It serves the index.html to the user.
httpResponse.addHeader("Cache-Control", "no-cache, no-store, must-revalidate"); httpResponse.addHeader("Pragma", "no-cache"); httpResponse.addHeader("Expires", "0");
Attachments
Issue Links
- links to