0

I have a page that is being cached, so when I log out it's reloaded from the disk cache without ever hitting the server. If I disable the cache via the browser's network inspector, it reloads the page correctly by requesting the page from the server, which then redirects to a login screen. That solution only works in development.

Is there a good way via either the web.xml or the weblogic.xml to disable caching of the html page itself?

  • I've looked at setting the resource-reload-check-secs value to 0 and 1 as suggested here, but this does not work for me since the resources have not changed.

  • I've also seen Weblogic's cache filter, but it's deprecated.

GuitarStrum
  • 713
  • 8
  • 24
  • 1
    This is a browser caching issue, not a server caching issue. You can use these meta to prevent browsers from caching your pages : ` ` – Emmanuel Collin Jul 08 '18 at 17:20
  • Whatever I do with these tags I can't prevent FireFox 52 (current target) from caching them. It works fine in Chrome. – GuitarStrum Jul 14 '18 at 16:36

0 Answers0