Skip Headers

Oracle Application Server Web Cache Administrator's Guide
10g (9.0.4)

Part Number B10401-01
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

7
Basic Setup and Configuration

This chapter describes the steps needed to initially configure OracleAS Web Cache to begin caching content.

This chapter contains these topics:

Using the Default Configuration

OracleAS Web Cache is installed with several default settings that you can either use or modify. Table 7-1 describes the main default configuration settings and where in the OracleAS Web Cache Manager interface you can change the values.

Table 7-1  OracleAS Web Cache Default Settings
Configuration Settings Default Value Location in OracleAS Web Cache Manager to Change Value

Security

 

 

Password for the administrator account

Password entered during the installation of Oracle Application Server, or if you were not prompted to supply a password, administrator

Properties > Security

Password for the invalidator account

Password entered during the installation of Oracle Application Server, if you were not prompted to supply a password, invalidator

Properties > Security

Process identity for OracleAS Web Cache

User and group ID of user that installed OracleAS Web Cache

Properties > Process Identity

Auto-Restart

Enabled

Properties > Auto-Restart

Network Timeouts

 

 

Keep-Alive timeouts

5 seconds

Properties > Network Timeouts

Origin server timeout

3600 seconds

Properties > Network Timeouts

Resource Limits

 

 

Maximum cache size

500

Properties > Resource Limits

Maximum incoming connections

700

Properties > Resource Limits

Logging and Diagnostics

 

 

Event logs

event_log in
$ORACLE_HOME/webcache/logs on UNIX and
ORACLE_HOME\webcache\logs on Windows

Logging and Diagnostics > Event Logs

Access logs

access_log in
$ORACLE_HOME/webcache/logs on UNIX and
ORACLE_HOME\webcache\logs on Windows

Logging and Diagnostics > Access Logs

Ports

 

 

OracleAS Web Cache

HTTP: 7777

Ports > Listen Ports

Administration

HTTP: 4000

Ports > Operations Ports

Invalidation

HTTP: 4001

Ports > Operations Ports

Statistics

HTTP: 4002

Ports > Operations Ports

Origin Servers, Sites, and Load Balancing

 

 

Oracle HTTP Server listening ports

HTTP: 7778

Origin Servers, Sites, and Load Balancing > Origin Servers

Failover threshold

5

Origin Servers, Sites, and Load Balancing > Origin Servers

Polling interval for a failed origin server

10 seconds

Origin Servers, Sites, and Load Balancing > Origin Servers

Site definitions

A default site definition is established for the Oracle HTTP Server when Oracle Application Server is installed

  • Host Name: Oracle_HTTP_Server_host

  • HTTP port: 7778

Origin Servers, Sites, and Load Balancing > Site Definitions

Site-to-server mappings

  • Site host name and port

    Oracle_HTTP_Server_host:7778

  • Origin server host name and port

    Oracle_HTTP_Server_host:7778

Origin Servers, Sites, and Load Balancing > Site-to-Server Mapping

Error Pages

  • Network error

    network_error.html in $ORACLE_HOME/webcache/files on UNIX and
    ORACLE_HOME\webcache\files on Windows

  • Site busy error

    busy_error.html in $ORACLE_HOME/webcache/files on UNIX and
    ORACLE_HOME\webcache\files on Windows

  • ESI default fragment

    esi_fragment_error.txt in $ORACLE_HOME/webcache/files on UNIX and
    ORACLE_HOME\webcache\files on Windows

Origin Servers, Sites, and Load Balancing > Error Pages

Rules for Caching, Personalization, and Compression

 

 

Caching rules

See: "Default Caching Rules"

Rules for Caching, Personalization, and Compression > Caching, Personalization, and Compression Rules

Expiration Policies

  • As per HTTP Expires Header

  • After 300 seconds in cache

  • After 3600 seconds in cache

Rules for Caching, Personalization, and Compression > Expiration Policy Definitions

Session Definitions

Predefined site-specific session identifiers commonly used by components of Oracle Application Server:

  • JSESSIONID: Used for servlet session tracking. It conforms to the Java 2 Platform, Enterprise Edition (J2EE) standard. The cookie name is JSESSIONID; the embedded URL parameter is jsessionid.

  • PAsid, PAconnxn, PAuserid: PAsid is used for the OracleAS Wireless session ID, PAconnxn is used for the OracleAS Wireless connection ID, and PAuserid is used for the OracleAS Wireless user ID. The embedded URL parameters are PAsid, PAconnxn, and PAuserid, respectively. No cookie names are used.

The predefined global session identifier is:

  • FoundationPersistentSessionID: Used by Oracle Application Server Foundation Classes for persistent session tracking. The cookie name is ESFSID. There is no embedded URL parameter.

Rules for Caching, Personalization, and Compression > Session Definitions

Tasks for Setting Up OracleAS Web Cache

To set up OracleAS Web Cache, perform the following tasks:

Task 1: Start OracleAS Web Cache and OracleAS Web Cache Manager

To start OracleAS Web Cache and OracleAS Web Cache Manager to begin the initial configuration:

  1. If not currently logged on to the OracleAS Web Cache computer, log in with the user ID of the user that performed the installation.

  2. Start OracleAS Web Cache and OracleAS Web Cache Manager. From the command line, enter:

    opmnctl startproc ias-component=WebCache
    
    

    This command starts the OracleAS Web Cache cache server process and admin server process.

  3. From a browser, enter the URL for the OracleAS Web Cache Manager and, when prompted, enter the username and password for the ias_admin or administrator user.

    See Also:

    "Starting OracleAS Web Cache Manager"

Task 2: Modify Security Settings

When OracleAS Web Cache is installed, it is set up with default passwords for administration and invalidation requests. In addition, the computer on which you installed OracleAS Web Cache is the default trusted host.

To change the security settings:

  1. Change the password for the administrator.

    Configuration and operational tasks can be performed with the ias_admin or administrator user. Before you begin configuration, change the default password to a secure password. The default password is the password entered during the installation of Oracle Application Server, or if you were not prompted to supply a password, administrator.

    1. In the navigator frame, select Properties > Security.

      The Security page appears.

    2. Under Administration User, click Change Administration Password.

      The Change Administration User Password dialog box appears.

    3. Enter the old password in the Old Password field and a new password, between four and 20 characters long, in the New Password and Confirm New Password fields.

    4. Click Submit.

  2. Optionally, change the password for the invalidation administrator.

    The invalidation administrator has a user ID of invalidator, whose default password is the password entered during the installation of Oracle Application Server, or if you were not prompted to supply a password, invalidator.

    1. In the Security page, click Change Invalidation Password under the Invalidation User.

      The Change Invalidation User Password dialog box appears.

    2. Enter the old password in the Old Password field, and a new password, between four and 20 characters long, in the New Password and Confirm New Password fields.

    3. Click Submit.

  3. Optionally, change the trusted subnet or trusted host from which administration, invalidation, and statistics monitoring requests can take place.

    By default, the computer on which you installed OracleAS Web Cache is the trusted host.

    1. In the Security page, click Change Trusted Subnets under the Currently Trusted Subnets.

      The Change Trusted Subnets dialog box appears.

    2. Select one of the following options:

      All subnets: Allows requests from all computers in all the subnets in the network.

      This machine only: Allows requests from only this computer.

      Enter list of IP addresses: Allows requests from all IP addresses you enter in a comma-delimited list. You can enter IP addresses in one of the following formats:

    3. Click Submit.

  4. Optionally, change the user ID and group ID for the OracleAS Web Cache processes on UNIX.

    By default, the user that performed the installation is the owner of OracleAS Web Cache processes. This user can execute opmnctl commands. Users that belong to the same group ID of the user that performed installation can also execute opmnctl commands.

    If the current opmnctl user does not match the configured user in the Process Identity page, the OracleAS Web Cache webcached executable must run as root. If the webcached executable is not able to run as root, error events are reported to the event log file, and OracleAS Web Cache fails to start.

    See Also:

    "Running webcached with Root Privilege" for instructions on changing the webcached executable to run as root

    To change the user ID and group ID for the OracleAS Web Cache processes on UNIX:

    1. In the navigator frame, select Properties > Process Identity.

      The Process Identity page appears.

    2. Select the cache for which you want to modify settings, and then click Change IDs.

      The Change Process Identity dialog box appears.

    3. Enter the new user in the User ID field and the group ID of the user in the Group ID field.

    4. Click Submit.

    5. Use the webcache_setuser.sh script as follows to change file and directory ownership:

      webcache_setuser.sh setidentity <user_ID> 
      
      

      where <user_ID> is the user you specified in the User ID field of the Process Identity page.

      The setidentity command changes the ownership of the following files and directories to the new user ID:

If you changed the administrator password or the trusted subnets in the Security page or any of the settings in the Process Identity page, then, after applying changes, restart both the cache server process and admin server process with the Oracle Process Manager and Notification (OPMN) Server utility command opmnctl restartproc ias-component=WebCache or the webcachectl utility command webcachectl restart (for standalone installations). You cannot use the Restart option in the Cache Operations page to restart the admin server process. Until the admin server process is restarted, you cannot submit invalidation requests from the Basic Content Invalidation or Advanced Content Invalidation pages.

See Also:

"Task 12: Apply Changes and Restart OracleAS Web Cache" for instruction on applying changes and restarting with command-line tools

Task 3: Configure Auto-Restart Settings

OracleAS Web Cache provides an auto-restart mechanism that checks that the cache server process is running and automatically restarts the cache server process if it is not running.

If auto-restart is enabled, the auto-restart mechanism restarts the cache server if it stops. By default, auto-restart is enabled.


Note:

If you installed OracleAS Web Cache as part of an Oracle Application Server installation, the auto-restart mechanism is run by Oracle Process Manager and Notification (OPMN) Server. If you installed OracleAS Web Cache from a kit that included only this product, the auto-restart mechanism is run by the OracleAS Web Cache monitor.


To specify the settings for auto-restart:

  1. In the navigator frame, select Properties > Auto-Restart.

    The Auto-Restart page appears.

  2. To change the default settings, click Edit.

    The Edit Auto-Restart dialog box is displayed.

  3. If auto-restart is not enabled, in the Enabled field, select Yes.

  4. You can specify that the auto-restart mechanism polls (pings) the OracleAS Web Cache cache server at specified intervals. It does this by sending requests to a specified URL. If it cannot connect to the cache server or if the cache server does not respond within a specified time, the auto-restart mechanism restarts the cache server process.

    Note that the auto-restart mechanism will restart the cache server if it has failed, whether or not you enable pinging. However, if you enable pinging, the auto-restart mechanism will attempt to restart the cache if it receives network errors in response to its ping attempts.

    If you do not want the auto-start mechanism to actively ping the cache server, disable pinging by selecting No in the Pinging Enabled field.

    To enable pinging:

    1. In the Pinging Enabled field, select Yes.

    2. In the Failover Threshold field, enter the number of consecutive failed requests before the auto-restart mechanism considers the cache server to have failed. Only network errors, including timeout errors, are counted as failed requests.

      For each failed request, OracleAS Web Cache increments the failure counter. When a request is successfully processed by the cache server, OracleAS Web Cache resets the failure counter.

      When the failover threshold is met, the auto-restart mechanism starts the cache server.


      Note:

      The threshold applies only to network errors and timeouts. If the cache server process is not running, the auto-restart mechanism immediately restarts the cache server.


    3. In the Ping URL field, enter the URL that the auto-restart mechanism will use to poll the cache server.

      You must use a URL that is cacheable that you can guarantee is stored in the cache. The default is "/".

    4. In the Ping Interval field, enter the time, in seconds, between attempts by the auto-restart mechanism to poll the cache server.

      The default value is 15 seconds.

    5. In the Ping Timeout field, enter the time, in seconds, that the auto-restart mechanism will wait for a response from the cache server.

      The default value is 30 seconds.

  5. Click Submit.

Task 4: Configure Network Time Outs

After OracleAS Web Cache sends a response to a browser, the connection is left open for five seconds, which is typically enough time for the browser to process the response from OracleAS Web Cache. If the network between the browser and OracleAS Web Cache is slow, consider increasing the timeout. Likewise, there is a 3600 second network timeout between OracleAS Web Cache and the origin server. If the origin server is unable to generate a response within that time, OracleAS Web Cache sends a network error page to the browser. If applications require a shorter timeout, adjust the timeout.

To modify the default network timeouts:

  1. In the navigator frame, select Properties > Network Timeouts.

    The Network Timeouts page appears.

  2. In the Network Timeouts page, select the cache, and then click Edit.

    The Edit Network Timeouts dialog box appears.

  3. In the Keep-Alive Timeout field, enter the time, in seconds, for OracleAS Web Cache to keep a connection open to the browser after it has returned a response.

    If the timeout is set to 0, the connection to the browser is not kept open. In addition, OracleAS Web Cache sends the following response-header field in the response:

    Connection: Close
    
    
  4. In the Origin Server Timeout field, enter the time, in seconds, for the origin server to generate a response to OracleAS Web Cache.

  5. Click Submit.

    See Also:

    "Content-Length Request-Header Field"

Task 5: Set Resource Limits

To set resource limits for OracleAS Web Cache, configure the following attributes:

Cache Memory

When the maximum cache memory limit is reached, OracleAS Web Cache performs garbage collection. During garbage collection, OracleAS Web Cache removes the less popular and less valid documents from the cache in favor of the more popular and more valid documents. In a cache cluster environment, OracleAS Web Cache removes on-demand documents before it removes owned documents.

To avoid swapping documents in and out of the cache, it is crucial to configure enough memory for the cache. Generally, the amount of memory (maximum cache size) for OracleAS Web Cache should be set to at least 256 MB.

To be more precise in determining the maximum amount of memory required, you can perform the following steps:

  1. Determine which documents you want to cache, how many are smaller than 2 KB and how many are larger than 2 KB. Determine the average size of the documents that are larger than 2 KB. Determine the expected peak load--the maximum number of documents to be processed concurrently.

    One way to do this is to look at existing Web server logs for one day to see which documents are popular. From the list of URLs in the log, decide which ones you want to cache. Retrieve the documents and get the size of each document.

  2. Calculate the amount of memory needed. The way you calculate it may differ depending on the version of OracleAS Web Cache.

    The amount of memory that OracleAS Web Cache uses to store a document depends on whether the document is larger or smaller than 2 kilobytes (KB):

    • If a document is smaller than 2 KB, OracleAS Web Cache uses a buffer of 2 KB to store the HTTP body.

    • If a document is 2 KB or larger, OracleAS Web Cache uses buffers of 8 KB to store the HTTP body. For example, if a document is 42 KB, OracleAS Web Cache uses six 8 KB buffers to store the HTTP body.

    • Regardless of the size of the body, OracleAS Web Cache uses 8 KB to store the HTTP response header.

    For this release, use the following formula to determine an estimate of the maximum memory needed:

    ( X * ( 2KB + 8KB ) ) + ( Y * (( [m/8] * 8KB ) + 8KB )) + basemem 
    
    

    In the formula:

    • X is the number of documents smaller than 2 KB.

    • 2KB is size of the buffer for the HTTP body for documents smaller than 2 KB.

    • 8KB is the size of the buffer for the HTTP response header.

    • Y is number of documents that are 2 KB or larger.

    • [m/8] is the ceiling of m (the average size, in kilobytes, of documents 2 KB or larger) divided by 8. A ceiling is the closest integer that is greater than or equal to the number.

    • 8KB is size of the buffer for the HTTP body for documents that are 2 KB or larger.

    • 8KB is the size of the buffer for the HTTP response header.

    • basemem is the base amount of memory needed by OracleAS Web Cache to process requests. This amount includes memory for internal functions such as lookup keys and timestamps. The amount needed depends on the number of concurrent requests and on whether or not the requests include Edge Side Includes (ESI).

      For non-ESI requests, each concurrent request needs approximately 32 KB of memory. For example, to support 1000 concurrent requests, you need about 32 MB of memory.

      For ESI requests, each concurrent request needs roughly the following amount of memory:

      32KB + (number of ESI fragments * [8KB to 16KB])
      
      

      Because documents with more ESI fragments require more metadata for each fragment, use the higher number (16) for documents with 10 or more fragments. For example, for a document with 10 ESI fragments, use the following calculation:

      32KB + (10 * [16KB]) = 192KB
      
      

      That is, you need about 192 KB of memory for one 10-fragment document. To support 1000 concurrent requests, you need roughly 192 MB of memory.

    For example, assume that you want to cache 5000 documents that are smaller than 2 KB and 2000 documents that are 2 KB or larger and that the larger documents have an average size of 54 KB. The documents do not use ESI. You expect to process 500 documents concurrently. Use the formula to compute the maximum memory:

    (5000 * (2KB + 8KB) ) + ( 2000 * (( [54/8] * 8KB ) + 8KB )) + (500 * 32KB)
    
    

    Using the formula, you need:

    • 50,000 KB for the smaller documents.

    • 128,000 KB for the larger documents. For the HTTP body, you need 56 KB (seven 8 KB buffers) for each document, given the average size of 54 KB. For the HTTP response header, you need 8 KB for each document.

    • Approximately 16,000 KB for the base amount of memory needed to process 500 concurrent requests.

    This results in an estimate of 194,000 KB of memory needed.


    Note:

    Even though you specify that certain documents should be cached, not all of the documents are cached at the same time. Only those documents that have been requested and are valid are stored in the cache. As a result, only a certain percentage of your documents are stored in the cache at any given time. That means that you may not need the maximum memory derived from the preceding formula.


  3. Configure OracleAS Web Cache, specifying the maximum cache size.

    1. In the navigator frame, select Properties > Resource Limits.

    2. On the Resource Limits page, select the cache and click Edit.

      The Edit Resource Limits dialog box appears.

    3. In the Maximum Cache Size field, enter the result of the formula. (Remember that the result of the formula is only an estimate.)

    4. Click Submit.

  4. After applying changes and restarting OracleAS Web Cache, as described in "Task 12: Apply Changes and Restart OracleAS Web Cache", use a simulated load or an actual load to monitor the cache to see how much memory it really uses in practice.

    Remember that the cache is empty when OracleAS Web Cache starts. For monitoring to be valid, ensure that the cache is fully populated. That is, ensure that the cache has received enough requests so that a representative number of documents are cached.

    The Web Cache Statistics page provides information about the current memory use and the maximum memory use.

    To access the Web Cache Statistics page, from the navigator frame, select Monitoring > Web Cache Statistics. Note the following metrics in the Cache Overview table:

    • Size of Documents in Cache shows the current logical size of the cache. The logical size of the cache is the size of the valid documents in the cache. For example, if the cache contains two documents, one 3 KB and one 50 KB, the Size of Documents in Cache is 53 KB, the total of the two sizes. This metric does not show the physical size of the cache.

    • Configured Maximum Cache Size indicates the maximum cache size as specified in the Resource Limits page.

    • Current Allocated Memory displays the physical size of the cache. The physical size of the cache is the amount of data memory allocated by OracleAS Web Cache for cache storage and operation. This number is always smaller than the process size shown by operating system statistics because the OracleAS Web Cache process, like any user process, consumes memory in other ways, such as instruction storage, stack data, thread, and library data.

    • Current Action Limit is 95 percent of the Configured Maximum Cache Size. This number is usually larger than the Current Allocated Memory.

    If Current Allocated Memory is greater than Current Action Limit, OracleAS Web Cache begins garbage collection. That is, OracleAS Web Cache removes the less popular and less valid documents from the cache in favor of the more popular and more valid documents to obtain space for new HTTP responses without exceeding the maximum cache size.

    If the Current Allocated Memory is close to or greater than the Current Action Limit, increase the maximum cache size to avoid swapping documents in and out of the cache. Use the Properties > Resource Limits page to increase the maximum cache size.

Connection Limit

In addition to the cache size, it is important to specify a reasonable number for the maximum connection limit for the OracleAS Web Cache server. If you set a number that is too high, performance can be affected, resulting in slower response time. If you set a number that is too low, fewer requests will be satisfied. You must strike a balance between response time and the number of requests processed concurrently.

To help determine a reasonable number, consider the following factors:

Use various tools, such as those available with the operating system and with OracleAS Web Cache, to help you determine the maximum number of connections. For example, the netstat -a command on UNIX and Windows operating systems enables you to determine the number of established connections; the ttcp utility enables you to determine how fast a page is processed. OracleAS Web Cache Manager provides statistics on hits and misses.

To set the maximum number of incoming connections, perform the following steps:

  1. In the navigator frame of OracleAS Web Cache Manager, select Properties > Resource Limits.

  2. In the Resource Limits page, select the cache, and then click Edit.

    The Edit Resource Limits dialog box appears.

  3. In the Maximum Incoming Connections field, enter the new value.

  4. Click Submit.

Do not set the value to an arbitrarily high value, because OracleAS Web Cache sets aside some resources for each connection, which could adversely affect performance. For many UNIX systems, 5000 connections is usually a reasonable number.

Connections on UNIX

On most UNIX platforms, each client connection requires a separate file descriptor. OracleAS Web Cache tries to reserve the maximum number of file descriptors (Max_File_Desc) when it starts. If the OracleAS Web Cache webcached executable is run as root, you can increase this number. For example, on Sun Solaris, you can increase the maximum number of file descriptors by setting the rlim_fd_max parameter. If the webcached executable is not run with the root privilege, OracleAS Web Cache fails to start.

See Also:

OracleAS Web Cache uses the following formula to calculate the maximum number of file descriptors to be used:

Max_File_Desc = Curr_Max_Conn + Total_WS_Capacity + Outgoing_Cluster_Conn + 100

In the formula:

Connections on Windows

On Windows operating systems, the number of file handles as well as socket handles is limited only by available kernel resources, more precisely, by the size of paged and non-paged pools. However, the number of active TCP/IP connections is restricted by the number of TCP ports the system can open.

The default maximum number of TCP ports is set to 5000 by the operating system. Of those, 1024 are reserved by the kernel. You can modify the maximum number of ports by editing the Windows registry. Windows operating systems allow up to 65536 ports.

To change the default, you must add a new value to the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

Add a new value, specifying the following:

The total of the maximum number of incoming connections and cluster member capacity should not be set to a number greater than the number of TCP ports minus 1024. You set the maximum number of incoming connections using the Resource Limits page (Properties > Resource Limits) of the OracleAS Web Cache Manager. You set the cluster member capacity using the Clustering page (Properties > Clustering).

On Windows operating systems, OracleAS Web Cache does not attempt to reserve file handles or to check that the number of current maximum incoming connections is less than the number of TCP ports.

Cached Object Size Limit

To conserve system resources, you can limit the size of documents that are cached, even if the documents meet other caching rules. To specify the limit:

  1. In the navigator frame of OracleAS Web Cache Manager, select Properties > Resource Limits.

  2. In the Resource Limits page, in the Maximum Cached Object Size section, click Edit.

    The Edit Maximum Cached Object Size dialog box appears.

  3. In the Edit Maximum Cached Object Size dialog box, you can specify that:

    • Any documents, regardless of size, that match the caching rules will be stored in the cache. Select Don't set maximum cached object size.

    • Only documents that are not larger than a specified size and that match the caching rules will be stored in the cache. Select Set maximum cached object size, and specify a size, in kilobytes (KB), for the maximum size of documents to be stored in the cache.

      Objects larger than the specified size will not be cached, even if they meet other caching rules. If you specify 0, no documents will be cached. However, this option is ignored if no content length header is present in the response.

  4. Click Submit.

Task 6: Configure OracleAS Web Cache with Listening Ports for Incoming Browser Requests

By default, OracleAS Web Cache listens with the HTTP protocol on port 7777. If this port is in use, the installation procedure attempts to assign other port numbers from a range of possible port numbers.

You can add ports, if necessary. For example, it may be necessary to add an additional listening port if you want to assign OracleAS Web Cache a port that an origin server was previously listening on.

You can add a port and specify the HTTPS protocol to accept HTTPS browser requests on that port.

See Also:

Oracle Application Server 10g Administrator's Guide for information about updating the port numbers for other Oracle Application Server components


Note:

The IP addresses for the default HTTP port is set to ANY. Upon startup, OracleAS Web Cache attempts to bind the port to all IP addresses. If multiple instances of OracleAS Web Cache are running on a multihomed host with multiple IP addresses, change ANY to a specific IP address to avoid port conflicts in the Listen Ports page (Ports > Listen Ports).


To specify a listening port from which OracleAS Web Cache can receive browser requests:

  1. In the navigator frame, select Ports > Listen Ports.

    The Listen Ports page appears.

  2. In the Listen Ports page, click Add.

    The Edit/Add Listen Ports dialog box appears.

  3. From the list, select the cache for which you want to modify settings.

  4. In the IP Address field, enter the IP address of the computer running OracleAS Web Cache.

  5. In the Port Number field, enter the listening port from which OracleAS Web Cache will receive Web browser requests for the Web site.

    Ensure that this port number is not already in use.

    Port numbers less than 1024 are reserved for use by privileged processes on UNIX. If you want to configure OracleAS Web Cache to listen on a port less than 1024, such as on port 80, run the OracleAS Web Cache webcached executable with the root privilege. If the webcached executable is not run as root, OracleAS Web Cache fails to start.

    See Also:

  6. From the Protocol list, select either HTTP to accept HTTP browser requests on the port or HTTPS to accept HTTPS browser requests on the port.

  7. If you selected HTTPS as the listening protocol, you must configure additional information, including the location of the wallet:

    See:

  8. Click Submit.

Task 7: Provide Directives to Oracle HTTP Server

At installation time, Oracle HTTP Server sets the httpd.conf file with the following directives that impact OracleAS Web Cache:

For example:

##
## httpd.conf -- Apache HTTP server configuration file
##
...
Port 7777
Listen 7778
...
ServerName http_server.company.com
...
UseCanonicalName On
....

If you decide to disable OracleAS Web Cache, the Oracle HTTP Server administrator must modify the value of the Port directive to the same value set for the Listen directive. For example:

##
## httpd.conf -- Apache HTTP server configuration file
##
...
Port 7778
Listen 7778
...
ServerName http_server.company.com
...
UseCanonicalName On
....

If OracleAS Web Cache is deployed on a separate computer from the Oracle HTTP Server, the Oracle HTTP Server administrator must modify the ServerName directive in httpd.conf for each site hosted by OracleAS Web Cache. This enables Oracle HTTP Server to redirect URLs to OracleAS Web Cache. The following example shows httpd.conf modified to direct requests for www.1st.company.com and www.2nd.company.com to OracleAS Web Cache, which is listening on port 7777:

Port 7777
Listen 7778
...
ServerName  www.1st.company.com
ServerName  www.2nd.company.com
...
UseCanonicalName On
....

The httpd.conf file resides in $ORACLE_HOME/Apache/Apache/conf/httpd.conf on UNIX or ORACLE_HOME\Apache\Apache\conf\httpd.conf on Windows.

See Also:

Oracle HTTP Server Administrator's Guide

Task 8: Configure OracleAS Web Cache with Operations Ports

In addition to receiving HTTP and HTTPS browser requests, OracleAS Web Cache also receives administration, invalidation, and statistics monitoring requests on specific HTTP or HTTPS listening ports:

http://web_cache_hostname:http_port 
https://web_cache_hostname:https_port 

By default, OracleAS Web Cache uses the HTTP protocol to receive these requests. Default HTTP port numbers are as follows:

To change the default port number or protocol for administration, invalidation, or statistics monitoring requests:

  1. In the navigator frame, select Ports > Operations Ports.

    The Operations Ports page appears.

  2. Select the cache for which to modify port and protocol settings.

  3. In the Operations Ports page, click Edit.

    The Edit Operations Port dialog box appears.

  4. In the ADMINISTRATION, INVALIDATION, or STATISTICS row, perform the following:

    1. In the IP Address field, enter the IP address of the computer running OracleAS Web Cache.

    2. In the Port Number field, enter the operation port.

      Port numbers less than 1024 are reserved for use by privileged processes on UNIX. If you want to configure OracleAS Web Cache to listen on a port less than 1024, such as on port 80, run the OracleAS Web Cache webcached executable with the root privilege. If the webcached executable is not run as root, then error events are reported to the event log file, and the OracleAS Web Cache fails to start.

      See Also:

    3. From the Protocol list, select either HTTP or HTTPS to accept requests.

  5. If you selected HTTPS as the listening protocol, you must configure additional information, including the location of the wallet:

    See:

  6. Click Submit.

After making an Administration port property change, restart the admin server process before you use the OracleAS Web Cache Manager for additional configuration. Use the following OPMN utility command:

opmnctl restartproc ias-component=WebCache process-type=WebCacheAdmin

If you are running a standalone instance of OracleAS Web Cache, use the following webcachectl utility command:

webcachectl restartadm 

You cannot use the Restart option in the Cache Operations page (Operations > Cache Operations) to restart the admin server process.

After making Invalidation or Statistics port property changes, restart the cache server process with the Restart option in the Cache Operations page. Until the cache server process is restarted after an Invalidation port change, you receive the following error when you submit invalidation requests from the Basic Content Invalidation or Advanced Content Invalidation pages (Operations > Basic Content Invalidation or Advanced Content Invalidation):

Internal error: can't connect to OracleAS Web Cache Invalidation Listening Port 

Likewise, after a Statistics port change, the Cache Operations page does not display the current Uptime and Operation Needed information for the cache. In addition, the Monitoring pages (Web Cache Statistics, Health Monitor, Origin Server Statistics, and Popular Requests) report the following error.

Failure obtaining statistics from Web Cache cache server:  error in connect.
Please check that the cache server is up and running. 

See Also:

"Task 12: Apply Changes and Restart OracleAS Web Cache" for instructions on applying changes and restarting the processes with command-line tools or OracleAS Web Cache Manager

Task 9: Configure Origin Server, Load Balancing, and Failover Settings

Configure OracleAS Web Cache with the application Web servers or proxy servers to which it sends cache misses. Typically, OracleAS Web Cache uses application Web servers for internal sites and proxy servers for external sites outside a firewall.

By default, the listening port and host name of the Oracle HTTP Server are configured. When OracleAS Web Cache is installed, Oracle HTTP Server has a default listening HTTP port of 7778.

OracleAS Web Cache only forwards requests to a configured origin server if the server is mapped to a Web site in the Site-to-Server Mapping page (Origin Servers, Sites, and Load Balancing > Site-to-Server Mapping). If you are configuring load balancing for a site, then create one site-to-server mapping that maps all the applicable origin servers to the site.

See Also:

To configure OracleAS Web Cache with application Web server or proxy server information:

  1. In the navigator frame, select Origin Servers, Sites, and Load Balancing > Origin Servers.

    The Origin Servers page appears.

  2. Click Add in the Application Web Servers or Proxy Servers section.

    The Add Application Web Server or Proxy Server dialog box appears.

  3. In the Hostname field, enter the host name of the origin server.

  4. In the Port field, enter the listening port from which the origin server will receive OracleAS Web Cache requests.


    Note:

    OracleAS Web Cache must listen on the same port as the application Web server being proxied. When configuring proxy servers, ensure there is a corresponding listening port for every port that will need to be proxied.


  5. In the Routing field, select ENABLED to permit OracleAS Web Cache to route requests to the origin server or DISABLED to only serve requests from cache.

    Oracle Corporation recommends selecting DISABLED if temporary maintenance of an origin server is needed.

    OracleAS Web Cache tries to route a request matching a particular site to all origin servers mapped to that site. If all of the origin servers have a routing of DISABLED, OracleAS Web Cache serves a network error page to browsers.

    See Also:

    "Configure Error Pages"

  6. In the Capacity field, enter the maximum number of concurrent connections that the origin server can accept.

    You determine this number by load testing the origin server until it runs out of CPU, responds slowly, or until a backend database reaches full capacity.

    In a cache cluster, OracleAS Web Cache ensures that the total number of connections from all cluster members to the origin server does not exceed the capacity. Each cluster member is allowed a percentage of the maximum connections, using the following formula:

    connections_from_each_cluster_member = capacity / number_of_cluster_members
    
    
  7. In the Failover Threshold field, enter the number of allowed continuous read/write failures with an origin server on established connections.

    If any connection failure occurs, OracleAS Web Cache immediately considers an origin server down.

    When the threshold is met, OracleAS Web Cache considers the origin server down and performs automatic failover of the origin servers. The default is five failed request/response failures. If an origin server fails any time after OracleAS Web Cache has started to send a request, then OracleAS Web Cache increments the failure counter. The failure counter is reset in the event of a successful server response. A request is considered failed if:

    • There are any network errors other than connection failure errors.

    • The HTTP response status code is less than 100, or is one of the following messages: 500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable, or 504 Gateway Timeout.

    After the threshold is met, OracleAS Web Cache considers the server down and uses other servers for future requests. OracleAS Web Cache starts polling the down server, by sending requests to the URL specified in the Ping URL field. When OracleAS Web Cache receives a successful response from the server without any network errors and the HTTP response code is not less than 100, or not equal to 500, 502, 503, 504, OracleAS Web Cache considers the server up again and uses it for future requests.


    Note:

    • The threshold does not apply if OracleAS Web Cache cannot connect to an origin server. In this case, OracleAS Web Cache immediately considers the server down and does not use it for future requests. If there are other origin servers, OracleAS Web Cache retries the request to another origin server. If there no servers configured, OracleAS Web Cache returns an error.

    • The failover to another origin server does not apply if there is only one origin server left.


  8. In the Ping URL field, enter the URL that OracleAS Web Cache will use to poll an origin server that has reached its failover threshold:

    • For an application Web Server, enter either a relative or fully-qualified URL that includes the domain name, or site name, representing the virtual host of the application Web server

    • For a proxy server, enter a fully-qualified URL that includes the domain name, or site name, representing the virtual host of the origin server behind the proxy server

    Rather than using a static URL, Oracle Corporation recommends using a URL that checks the health of the application logic on the origin server and returns the appropriate HTTP 200 or 500 status codes.

  9. In the Ping Interval (seconds) field, enter the time, in seconds, that OracleAS Web Cache will poll an origin server that has reached its failover threshold.

    The default is 10 seconds.

  10. From the Protocol list, select either HTTP to send HTTP requests on the port or HTTPS to send HTTPS requests on the port.

    See Also:

    "Secure Sockets Layer (SSL)"

  11. Click Submit.

  12. If you selected HTTPS as the listening protocol, specify the location of the wallet for OracleAS Web Cache communication to the origin server (Origin Servers, Sites, and Load Balancing > Origin Server Wallet.

    See Also:

    "Task 5: Configure HTTPS Port and Wallet Location for the Origin Server" for information about configuring the wallet

Task 10: Configure Web Site Settings

For OracleAS Web Cache to act as a virtual server for one or more Web sites, configure OracleAS Web Cache with information about the Web site. To configure settings for a Web site, perform the following tasks:

Create Site Definitions

A site definition consists of host name and port information about the site and aliases. Alias information is essential, because many sites are represented by one or more aliases. OracleAS Web Cache recognizes and caches requests for a site and its aliases. For example, site www.company.com:80 may have an alias of company.com:80. By specifying this alias, OracleAS Web Cache caches the same content from either company.com:80 or www.company.com:80. If a request includes a site alias that is not configured, OracleAS Web Cache sends the request to the default site.

Using OracleAS Web Cache Manager, you can either discover site and alias information from Oracle HTTP Server, or you can manually create definitions. Oracle Corporation recommends using the site discovery feature to initially create the necessary definitions. After discovery is complete, you can manually create additional site definitions.

To use the site discovery feature:

  1. In the navigator frame, select Origin Servers, Sites, and Load Balancing > Site Definitions.

    The Site Definitions page appears.

  2. In the Site Definitions page, click Site Discovery.

    The Site Configuration Discovery dialog box appears. It displays the following information:

  3. In the Sites discovered from Oracle HTTP Server section, select the discovered Oracle HTTP Server definitions to apply to OracleAS Web Cache.

  4. In the Sites configured in Web Cache that were not found in Oracle HTTP Server section, select the definitions to remove from the OracleAS Web Cache configuration. Ensure that you only select site definitions that are no longer relevant.

  5. Click Confirm.

    Your selections are applied to the Site Definitions page.

To create additional site definitions:

  1. In the navigator frame, select Origin Servers, Sites, and Load Balancing > Site Definitions.

    The Site Definitions page appears.


    Notes:

    • It may not be possible to specify a site definition for an external ESI provider site. If an ESI request is made to a provider that does not match any application Web server mapping, then OracleAS Web Cache uses Domain Name System (DNS) to resolve the site name. Note that this will not work if there is a firewall between the cache and the ESI provider. In that case, you must provide a proxy server mapping that directs the request to the appropriate proxy.

      Undefined ESI provider sites disable the following OracleAS Web Cache features:

      -- Performance assurance heuristics

      -- Origin server features, such as surge protection, load balancing, failover, and session binding

    • It is not possible to configure only ESI provider sites. In a configuration with ESI provider sites, at least one virtual host site definition must exist for ESI template pages.


  2. Specify the site information:

    1. In the Site Definitions page, click Add Site.

      The Add Site dialog box appears.

    2. In the Host Name field, enter the site name, such as www.company.com.

    3. In the Port Number field, enter the port number from which the Web site is listening for incoming HTTP requests.

      The port number should be the port used in browser requests.

    4. In the HTTPS Only Prefix field, enter the URL prefix for which only HTTPS requests will be served. If all traffic must be restricted to HTTPS, enter "/ " for the entire site.

    5. In the Client-Side Certificate field, select Required or Not Required to specify that OracleAS Web Cache require or not require client-side certificates from browsers.

      A client-side certificate is a method for verifying the identity of the client. It binds information about the client user to the user's public key and must be digitally signed by a trusted CA.

    6. In the Default Site field, select Yes to specify the site as the default site, or select No to specify this site as a nondefault site.

      If you select Yes for a site, another site that previously had the Yes setting will change to No.

      See Also:

      "Default Site Settings" for information about how the default site is used

    7. In the Create Alias from Site Name with/without www field, select either Yes or No.

      • Select Yes to use the site name as a site alias.

        For example, if the site domain name is company.com, a site alias of www.company.com will be used. If the site domain name is www.company.com, a site alias of company.com will be used.

      • Select No if you do not want to use the site name as a site alias.

  3. If the site uses additional aliases, map the site to those aliases.


    Important:

    To ensure requests are directed to the correct site, specify all possible variations of the site name. If a request includes a site alias that is not configured, OracleAS Web Cache sends the request to the default site.


    1. In the Site Definitions page, select a site, and then click Add Alias.

      The Add Alias for Site dialog box appears.

    2. In the Host Name field, enter the site alias name, such as company.com.

    3. In the Port Number field, enter the HTTP or HTTPS port number from which the alias is listening for incoming HTTP requests.

      The port number should be the port used in browser requests.

  4. Click Submit.

Map Sites to Origin Servers

To map sites to origin servers, take the following steps:

  1. In the navigator frame, select Origin Servers, Sites, and Load Balancing > Site-to-Server Mapping.

    The Site-to-Server Mapping page appears.

  2. Click Create if no mappings exist. If mappings already exist, select a mapping, and then click Insert Above or Insert Below.

    The Create Site-to-Server Mapping or Edit/Add Site-to-Server Mapping dialog box appears.

  3. In the Edit Site Name section, select one of the following options:

  4. In the Select either application Web servers or proxy servers to which this Site is mapped, select one of the following options:

  5. In the Exclude section, select one of the following options to restrict OracleAS Web Cache access to the origin servers for the sites specified in Edit Site Name.

    • Exclude Fragments restricts OracleAS Web Cache from using this mapping for ESI fragments. Select this option if the site is a virtual host site that does not provide ESI content.

    • Fragments Only restricts OracleAS Web Cache from using this mapping for any content that is not an ESI fragment. Select this option if the site is an ESI provider site.

    • Unrestricted does not enforce any OracleAS Web Cache restrictions. Select this option if the site is a virtual host site that supports ESI.

    For example, one mapping entry that uses Exclude Fragments does not mean that OracleAS Web Cache is not allowed to assemble ESI content from other origin servers.

  6. Click Submit.

  7. In the Site-to-Server Mapping page, select a mapping, and then click Move Up or Move Down to order the mappings. Note the following:

Configure Error Pages

For configured sites, specify error pages to be served from OracleAS Web Cache for network communication errors, site busy errors, and ESI <esi:include> errors:

  1. Create error pages and place them in the $ORACLE_HOME/webcache/files directory on UNIX and the ORACLE_HOME\webcache\files directory on Windows.

    The default page setting is applied to Network Error, Site Busy Error, and ESI Default Fragment pages for defined sites:

    • For Network Error, the default page setting is set to network_error.html. This error page is served when there is a network problem while connecting, sending, or receiving a response from an origin server for a cache-miss request.

    • For Site Busy Error, the default page setting is set to busy_error.html. This page is served when origin server capacity is reached.

    • For ESI Default Fragment, the default page setting is set to esi_fragment_error.txt. This page is served when OracleAS Web Cache is unable to fetch the src specified in an <esi:include> tag and the alt attribute, onerror attribute, or the try |attempt |except block are either not present or fail.

    For a production environment, Oracle Corporation advises that you modify the defaults or create entirely new error pages to be consistent with other error pages for the site. You can modify the settings for error pages in one of two ways:

    • Change the values of the Default Pages rule, and apply it to all defined sites.

    • Modify the error page settings for a specific site.

  2. In the navigator frame, select Origin Servers, Sites, and Load Balancing > Error Pages.

    The Error Pages page appears.

  3. Select either Default Pages or a site name in the table, and then click Edit.

    The Edit Error Pages dialog box appears.

  4. In the Network Error Page field, enter the file name of the error page that will be delivered for network communication problems between OracleAS Web Cache and the Web site.

    If you are using the default network_error.html page, leave the field as is.

  5. In the Site Busy Page field, enter the file name of the error page that will be delivered when a Web site is saturated with requests.

    If you are using the default busy_error.html page, leave the field as is.

  6. In the ESI Default Fragment field, enter the file name of the page that will be delivered when OracleAS Web Cache is unable to retrieve an HTML fragment for an <esi:include> tag.

    If you are not using <esi:include> tags for partial page caching or you want to use only ESI language elements for exceptions, do not enter a value.

  7. Click Submit.

    If you selected Default Pages in Step 3, the new settings will be applied to all defined sites with the default page setting. However, the new setting will not be applied to undefined sites. If you selected a specific site in Step 3, the new settings will be applied to just to the site.

    See Also:

    "Exceptions and Errors" to understand how exceptions and error are handled for <esi:include> errors

Bind a Session to an Origin Server


Note:

If an origin server is busy, OracleAS Web Cache disables session binding to that origin server.


You can configure OracleAS Web Cache to support session binding, whereby a user session for a particular site is bound to an origin server in order to maintain state for a period of time. To utilize this feature, the origin server itself must maintain state; that is, it must be stateful.

If the session information is contained within a session cookie or an embedded URL parameter, OracleAS Web Cache can keep track of sessions between Web browsers and origin servers. A session cookie or an embedded URL parameter enables OracleAS Web Cache to bind a particular user session to a specific origin server.

If you have configured a cache cluster, you must enable tracking of session bindings through the use of a cookie that tracks session information so that it can be read by all cluster members. OracleAS Web Cache includes a Set-Cookie response-header in the response so that subsequent requests from the client include the cookie. The cookie provides information so that any of the cluster members can resolve the binding regardless of which cache handled the initial request.

See Also:

By default, session binding is not enabled for any sites. If there is no session binding specified for a site, then the default session binding setting is applied, which uses the Default Session Binding rule. The Default Session Binding rule has a default value of Session Binding Disabled. You can enable session binding in one of two ways:

To enable session binding:

  1. In the navigator frame, select Origin Servers, Sites, and Load Balancing > Session Binding.

    The Session Binding page appears.

  2. In the Session Binding page, select Default Session Binding or a specific site name in the table, and then click Edit Selected.

    The Edit Session Binding dialog box appears.

  3. From the Please select a session list:

    • If you selected the Default Session Binding rule in Step 2, change the session value from Use Default Session Binding to another defined session, and then skip to Step 6.

    • If you selected a specific site in Step 2, change the session value from Disable Session Binding to another defined session, and then skip to Step 5.

    If the sessions listed do not contain the definition you require, click Cancel to exit the Edit Session Binding dialog box. Continue to Step 4.

  4. Create a session definition:

    1. In the navigator frame, select Rules for Caching, Personalization, and Compression > Session Definitions.

      The Session Definitions page appears.

    2. From the For Site list, select the Web site for which you want to create site-specific site definitions.

    3. Click Add or Create.

      The Edit/Add Session Definition dialog box appears.

    4. In the Session Name field, enter an easy-to-remember unique name.

    5. Enter the cookie name in the Cookie Name field and the embedded URL parameter in the URL or Post body parameter field.

      If you enter both a cookie name and an embedded URL parameter, keep in mind that both must be used to support the same session. If they support different sessions, create separate session definitions. You can specify up to 20 session definitions for each page.


      Note:

      OracleAS Web Cache requires a session cookie to perform session binding. If browsers do not support cookies and you want to use an embedded URL parameter for the session, then perform the following for OracleAS Web Cache to perform session binding on the session:

      1. In addition to the URL Parameter field, specify a cookie name for the session in the Cookie Name field.

      2. Ensure that the origin server returns a Set-Cookie response-header with the value of the session every time a session is created.

        Set-Cookie: cookie=value

        Set value to the same value as set in the URL Parameter field.

      OracleAS Web Cache uses the Set-Cookie response header, even if ignored by browsers, to locate the session cookie value for session binding.

      See Also: http://www.rfc-editor.org/ for further information about the Set-Cookie response header



      Note:

      When a session cookie expires, OracleAS Web Cache does not continue to bind the user session to the origin server. Instead, OracleAS Web Cache uses load balancing to choose an origin server. To avoid pages being served past the browser session expiration time, ensure that the session cookie expires before the origin server expires the browser session.


    6. Click Submit.

    7. Repeat Steps 1 through 3.

  5. In the Inactivity Timeout field, enter the number of minutes you want OracleAS Web Cache to wait before timing out an inactive session to the origin server.

    Oracle Corporation recommends setting the value to a higher value than the inactivity timeout set for the Web site.

  6. Click Submit.

    If you selected the Default Session Binding rule in Step 2, the new settings will be applied to all defined sites with the default session binding setting. However, the new default will not be applied to undefined sites. If you selected a specific site in Step 2, the new settings will be applied to just the site.

  7. For a cache cluster, if Session Binding Cookie is not enabled, click Enable.

Default Site Settings

For those requests that do not include a Host request-header field, OracleAS Web Cache uses the default site settings to determine the appropriate site for the requests.

The default site established during installation uses the host name and listening port of the computer on which Oracle Application Server was installed. Figure 7-1 shows the default site definitions.

Figure 7-1 Default Site Definitions

Text description of defsite.gif follows.

Text description of the illustration defsite.gif

The default site-to-server mappings use the following rules:

Figure 7-2 shows the default site-to-server mappings.

Figure 7-2 Default Site-to-Server Mappings

Text description of sitesrv.gif follows.

Text description of the illustration sitesrv.gif

Virtual Host Site Example Settings

A virtual host site named www.company.com without ESI content could have the following site definition and site-to-server mapping shown in Figure 7-3.

The site definition specifies www.company.com, port 80 as the site and company.com, port 80 as the site alias. The site-to-server rule maps requests to www.company.com to application Web server host-server, port 7778. The ESI Content Policy Exclude Fragments setting restricts OracleAS Web Cache from fetching ESI content from host-server, port 7778 for www.company.com:80.

Figure 7-3 Example: Site Settings for a Virtual Host Site

Text description of sitedef1.gif follows.

Text description of the illustration sitedef1.gif

Figure 7-4 shows the site definitions and site-to-server mappings for virtual host sites www.1st.company.com and www.2nd.company.com that support ESI.

The site definition specifies www.1st.company.com, port 80 and www.2nd.company.com, port 80 as the sites, and 1st.company.com, port 80 and 2nd.company.com, port 80 as the site aliases. The site-to-server rules map sites matching www.*.company.com to application Web server host-server, port 7778. The ESI Content Policy Unrestricted setting enables OracleAS Web Cache to serve site content, as well as assemble ESI include fragments.

Figure 7-4 Example: Site Settings for Multiple Virtual Host Sites

Text description of sitedef2.gif follows.

Text description of the illustration sitedef2.gif

ESI Provider Site Example Settings

ESI provider sites named www.providersite1.com and www.providersite2.com could have the site definition and site-to-server mapping shown in Figure 7-5.

The site definition specifies www.providersite1.com, port 80 and www.providersite2.com, port 80 as the sites, and providersite1.com, port 80 and providersite2.com, port 80 as the site aliases. The site-to-server rules maps www.providersite1.com to proxy server proxy-host, port 80. The ESI Content Policy Fragments Only setting restricts OracleAS Web Cache from using this mapping for any content that is not ESI. There is no mapping for www.providersite2.com, because the proxy server is not known. Instead, DNS will be used to resolve the site name to the appropriate server. In addition, other ESI provider sites that do not have site definitions will also be resolved through DNS.


Note:

This example only shows ESI provider site mappings. In an actual deployment, at least one virtual host definition must exist for ESI template pages.


Figure 7-5 Example: Site Settings for Multiple ESI Provider Sites

Text description of sitedef3.gif follows.

Text description of the illustration sitedef3.gif

Task 11: Specify Caching Rules

Specify the URLs containing the documents you want OracleAS Web Cache to cache.

See:

"Configuring Caching Rules and Rule Association"

Task 12: Apply Changes and Restart OracleAS Web Cache

After OracleAS Web Cache is configured, apply changes and restart OracleAS Web Cache.

To apply changes, in the OracleAS Web Cache Manager main window, click Apply Changes.

To restart OracleAS Web Cache, use one of the following:

You must restart both the cache server and admin server processes if you modified one of the following configuration settings:


Go to previous page Go to next page
Oracle
Copyright © 2002, 2003 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index