Weblogic JSP cache Response header issue. (Doc ID 1228403.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version 10.3 and later
Information in this document applies to any platform.

Goal

You may run into issues where you may set several http headers in your JSP files for caching purposes. Among these headers you have added response.addHeader("Pragma", "No-cache");

You want to remove this header from all JSP’s because it can cause problems with gZip in IE.

Is it possible to remove the header ("Pragma", "No-cache") in the http response?

Solution

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