Oracle iPlanet Web Server 7.0.9 Administrator's Guide

Setting Cache Control Directives

Cache-control directives are a way for Web Server 7.0.9 to control what information a proxy server caches. Using cache-control directives, you override the default caching of the proxy to protect sensitive information from being cached, and perhaps retrieved later. For these directives to work, the proxy server must comply with HTTP 1.1.

For more information HTTP 1.1, see the Hypertext Transfer Protocol--HTTP/1.1 specification (RFC 2068) at:

To set cache control directives, follow these steps:

ProcedureTo Set Cache Control Directives

  1. Navigate to the Virtual Server Tab, click Content Handling Page.

  2. Click on "Entire Virtual Server" entry in the "Miscellaneous Settings" table or click on "New" button in the "Miscellaneous Settings" table.

  3. Fill in the fields. Valid values for the response directives are as follows:

    • Public. The response is cachable by any cache. This is the default.

    • Private. The response is only cachable by a private (non-shared) cache.

    • No Cache. The response must not be cached anywhere.

    • No Store. The cache must not store the request or response anywhere in nonvolatile storage.

    • Must Revalidate. The cache entry must be revalidated from the originating server.

    • Maximum Age (sec). The client does not accept a response that has an age greater than this age.

  4. Click Save.

    Note –

    Using CLI

    To set up cache control directives through CLI, execute the following command.

    wadm> set-cache-control-directives --user=admin --password-file=admin.pwd 
    --host=serverhost --port=8989 --config=config1 --vs=config1_vs_1 public=true 
    private=true must-revalidate=true

    See CLI Reference, set-cache-control-directives(1).