How to Add Expires and max-age Headers in Oracle iPlanet Web Server

(Doc ID 1303465.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle iPlanet Web Server - Version 6.1 to 7.0 [Release 6.1 to 7.0]
Information in this document applies to any platform.

Goal

How to add Expires and max-age headers in Sun Java web server.

Sometimes, you would like to add Expires header to all contents in a particular directory and/or a particular file types, so no cache is allowed in outside browsers and/or proxies. This KM doc will tell you how to do this in web 6.1 and 7.0.

It will also explain the priority of max-age header over Expires header.

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