0

I'm working on a website with nodejs, express and ejs. The issue is that when an user logouts, he still sees the website as if he was logged in. How can I fix this? I have already tried adding:

    <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">

but the issue persists

Vneko
  • 1
  • 3
    Does this answer your question? [How do we control web page caching, across all browsers?](https://stackoverflow.com/questions/49547/how-do-we-control-web-page-caching-across-all-browsers) – DDomen Feb 09 '21 at 19:58
  • You can check also [Using meta tags to turn off caching in all browser (Stack Overflow)](https://stackoverflow.com/questions/1341089/using-meta-tags-to-turn-off-caching-in-all-browsers) that is another duplicate – DDomen Feb 09 '21 at 19:59

0 Answers0