Perhaps this may help in providing an answer. When I log out from my
app and go to a different browser tab and go to the URL of my app, I'd
expect to see a login screen.
Instead, it seems as though the browser is caching the page and
attempting to make calls to my services. In the response to these
services, the server (tomcat) is sending back the login page (since
I'm not logged in) as a response.
It seems like the correct approach in this case would be to make sure
the browser attempts to refresh my entry point every time so that it
will be redirected to the login. I've tried adding <meta http-
equiv="Pragma" content="no-cache"> to the top of my html file to force
this like so:
<html>
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
But to no avail. Any ideas? I'm in uncharted waters here with this
caching stuff so your help would be greatly appreciated.
Tim