How to Avoid Caching HTML or JSP Files in Browser's Temporary Folder

(Doc ID 980157.1)

Last updated on JULY 10, 2017

Applies to:

Oracle WebLogic Portal - Version 8.1 and later
Information in this document applies to any platform.


HTML files are getting cached in the browser's temporary folder even though the response header was set to prevent caching with the following code in desktop.jsp file:

  response.setHeader("Cache-Control", "no-cache");
  response.setHeader("Pragma", "no-cache");
  response.setDateHeader("Expires", 0);


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms