Sun Java System Web Server 6.1 SP9 Administrator's Guide

Setting Cache Control Directives

Cache-control directives are a way for Sun Java System Web Server to control what information is cached by a proxy server. 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:

http://www.ietf.org/

To set cache control directives, perform the following steps.

ProcedureTo set cache control directives

  1. From the Class Manager, click the Content Management tab.

  2. Click Cache Control Directives

  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 OK.

    For more information see the online help for the Cache Control Directives page.