Oracle iPlanet Web Proxy Server 4.0.14 Administration Guide

How Caching Works

Caching reduces network traffic and offers faster response time for clients that are using the proxy server instead of going directly to remote servers.

When a client requests a web page or document from the proxy server, the proxy server copies the document from the remote server to its local cache directory structure while sending the document to the client.

When a client requests a document that was previously requested and copied into the proxy cache, the proxy returns the document from the cache instead of retrieving the document from the remote server again as shown in the following figure. If the proxy determines that the file is not up to date, the proxy refreshes the document from the remote server and updates its cache before sending the document to the client.

Figure 12–1 Proxy Document Retrieval

Diagram showing a client requesting a document and the
proxy server sending the document from cache

Files in the cache are automatically maintained by the Proxy Server garbage collection utility (CacheGC). The CacheGC automatically cleans the cache on a regular basis to ensure that the cache does not get cluttered with out-of-date documents.