My Oracle Support Banner

How to Avoid Caching HTML or JSP Files in Browser's Temporary Folder (Doc ID 980157.1)

Last updated on AUGUST 17, 2020

Applies to:

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

Goal

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);
  response.setHeader("Cache-Control","no-store");
%>

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.