My Oracle Support Banner

How To Prevent Setting Pragma: no-cache Headers That Causing IE From Caching Large Amount Of Java Script & Css F That Are Downloaded (Doc ID 1312549.1)

Last updated on DECEMBER 05, 2019

Applies to:

Oracle Access Manager - Version to [Release 11g]
Information in this document applies to any platform.


The responses from the server all contain Pragma: no-cache headers that prevent IE from caching the large amount of java script and css files that are downloaded.  However, we can't determine how to remove the Pragma: no-cache header.

We've tried updating the httpd.conf with Header unset Pragma, that didn't work.
We've also removed the following line from oam-config.xml:
<Setting Name="cachePragmaHeader" Type="xsd:string">no-cache</Setting>

But the ObAccessClient.xml file on the Web server keeps getting overwritten with a file that contains the pragma no-cache line.
Now we been able to remove the cachePragmaHeader from OAM configuration files, but the header still appears in the server responses.

What would be the proper way to address this and how to remove it from server response header?

Firefox and Chrome cache the files regardless of the headers. The issue is IE downloads 100+ files on every page load, while the others are using files out of cache.

When the LBR and Apache 2.2 are removed we do not see the issue. This is probably due to that WebLogic is not sending the Pragma: no-cache header. The performance delay we are experiencing is caused by IE downloading all the files (100+) every time instead of using the cached files since the Pragma: no-cache header inserted by something on the Apache web server (either Apache or OAM we're not sure).


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

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