Content caching

WebSEAL can cache static web contents to increase the response time of a transaction. We can flush all caches and set cache control for specific documents.

Users can often experience extended times for network access and file download due to poor web document retrieval performance. Poor performance can occur because the WebSEAL server is waiting for documents that are retrieved from junctioned back-end servers. Caching web content gives us the flexibility of serving documents locally from WebSEAL rather than from a back-end server across a junction. With the content caching feature, we can store commonly accessed web document types in the WebSEAL server memory. Clients can experience much faster response to follow up requests for documents that were cached in the WebSEAL server. Cached content can include static text documents and graphic images. Dynamically generated documents, such as database query results, cannot be cached.

Caching is based on MIME type. When configuring WebSEAL for content caching, identify the following settings:

Configuration of content caching

To configure content caching in the [content-cache] stanza of the WebSEAL configuration file.

Conditions

HTTP headers types

For client request headers, WebSEAL will either produce the requested resource or send the request to the destination server. WebSEAL does not process <meta> tags with http-equiv attributes for response headers.

Impact of other conditions on WebSEAL content caching

Other conditions affect WebSEAL content caching.

Flushing all caches

We can use the pdadmin utility to flush all configured content caches. We cannot flush individual caches with pdadmin. We must log in to the secure domain as the ISAM administrator sec_master before we can use pdadmin.

To flush all content caches:

Cache control for specific documents

We can control caching for specific documents by attaching a special protected object policy (POP) to those objects. This POP must contain an extended attribute called document-cache-control.

The document-cache-control extended attribute recognizes the following two values:

Use the pdadmin pop create, pdadmin pop modify, and pdadmin pop attach commands to set a POP on a protected object.

Create a POP called "doc-cache", with the document-cache-control extended attribute, and attached it to an object (budget.html):

The budget.html document is never cached by WebSEAL. Each request for this document must be made directly to the back-end server where it is located.

Parent topic: Web server configuration

Related concepts

Related tasks

Related reference