Oracle®
Application Server Web Cache Administrator's Guide
10g Release 2 (10.1.2) B14046-05 |
This chapter describes the main tasks to begin caching
content with OracleAS Web Cache.
This chapter contains these topics:
- Using the Default Configuration
- Tasks for Setting Up OracleAS Web Cache
- Configuring for High Availability Without a Hardware
Load Balancer
- Advanced Configuration Topics
OracleAS Web Cache is
installed with several default settings that you can either use or
modify. Table 8-1 describes the main default
configuration settings and where in the Oracle Enterprise Manager 10g Application
Server Control Console and OracleAS Web Cache Manager interfaces you can change
the values.
Configuration Settings
|
Default Value
|
Location to Change Value in Oracle Enterprise Manager 10g Application
Server Control Console and OracleAS Web Cache Manager
|
Security
|
||
Password for theadministratoraccount
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Security
OracleAS Web Cache Manager:
Properties > Security
|
|
Password for theinvalidatoraccount
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Security
OracleAS Web Cache Manager:
Properties > Security
|
|
Process identity for OracleAS Web Cache
(UNIX only)
|
User and group ID of user that installed
OracleAS Web Cache
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Security
OracleAS Web Cache Manager:
Properties > Process
Identity
|
Auto-Restart
|
Enabled/Disabled: Enabled
Failover threshold: 3
Ping URL: /_oracle_http_server_webcache_static_.html
Polling interval for polling: 15 seconds
Ping timeout: 30 seconds
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Auto-Restart
OracleAS Web Cache Manager:
Properties > Auto-Restart
|
Network Timeouts
|
||
Keep-Alive timeouts
|
5 seconds
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Resource
Limits and Timeouts
OracleAS Web Cache Manager:
Properties > Network
Timeouts
|
Origin server timeout
|
3600 seconds
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Resource
Limits and Timeouts
OracleAS Web Cache Manager:
Properties > Network
Timeouts
|
Resource Limits
|
||
Maximum cache size
|
500 MB
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Resource
Limits and Timeouts
OracleAS Web Cache Manager:
Properties > Resource
Limits
|
Maximum incoming connections
|
700
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Resource
Limits and Timeouts
OracleAS Web Cache Manager:
Properties > Resource
Limits
|
Maximum size of single cached object
|
100 KB
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Resource
Limits and Timeouts
OracleAS Web Cache Manager:
Properties > Resource
Limits
|
Logging and Diagnostics
|
||
Event logs
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Logging
OracleAS Web Cache Manager:
Logging and Diagnostics > Event
Logs
|
|
Access logs
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Logging
OracleAS Web Cache Manager:
Logging and Diagnostics > Access
Logs
|
|
Ports
|
||
OracleAS Web Cache
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Ports
OracleAS Web Cache Manager:
Ports > Ports
|
|
Administration
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Ports
OracleAS Web Cache Manager:
Ports > Operations Ports
|
|
Invalidation
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Ports
OracleAS Web Cache Manager:
Ports > Operations Ports
|
|
Statistics
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Web Cache > Ports
OracleAS Web Cache Manager:
Ports > Operations Ports
|
|
Origin Servers, Sites, and Load
Balancing
|
||
Oracle HTTP Server listening ports
|
HTTP: 7778 (for the first installation)
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Application > Origin
Servers
OracleAS Web Cache Manager:
Origin Servers, Sites, and Load
Balancing > Origin
Servers
|
Load balancing and failover settings
|
Capacity: 100
Failover threshold: 5
Ping URL: /
Polling interval for polling: 10 seconds
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Application > Origin
Servers
OracleAS Web Cache Manager:
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
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Application > Sites
OracleAS Web Cache Manager:
Origin Servers, Sites, and Load
Balancing > Site
Definitions
|
Site-to-server mappings
|
Oracle_HTTP_Server_host:Oracle_HTTP_Server_port
Oracle_HTTP_Server_host:Oracle_HTTP_Server_port
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Application > Sites
OracleAS Web Cache Manager:
Origin Servers, Sites, and Load
Balancing > Site-to-Server
Mappings
|
Error Pages
|
network_error.html in $ORACLE_HOME/webcache/files on UNIX andORACLE_HOME\webcache\files on Windows
busy_error.html in $ORACLE_HOME/webcache/files on UNIX andORACLE_HOME\webcache\files on Windows
esi_fragment_error.txt in$ORACLE_HOME/webcache/files on UNIX
and ORACLE_HOME\webcache\files on Windows
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Application > Sites >Default
Error Pages
OracleAS Web Cache Manager:
Origin Servers, Sites, and Load
Balancing > Error
Pages
|
Rules for Caching, Personalization, and
Compression
|
||
Caching rules
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Application > Rules
OracleAS Web Cache Manager:
Rules for Caching, Personalization, and
Compression > Caching,
Personalization, and Compression
|
|
Expiration policies
|
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Application > Rules >Expiration
Policies
OracleAS Web Cache Manager:
Rules for Caching, Personalization, and
Compression > Expiration
Policy Definitions
|
Session definitions
|
Predefined site-specific session
identifiers commonly used by components of Oracle Application Server:
The predefined global session identifier
is:
|
Application Server Control Console:
Web Cache Home page > Administrationtab
> Properties > Application > Sessions
OracleAS Web Cache Manager:
Rules for Caching, Personalization, and
Compression > Session
Definitions
|
To set up OracleAS Web Cache, perform the following
tasks:
- Task 1: Start OracleAS Web Cache
- Task 2: Modify Security Settings
- Task 3: Configure Auto-Restart Settings
- Task 4: Configure Network Time Outs
- Task 5: Set Resource Limits
- Task 6: Configure OracleAS Web Cache with Listening
Ports for Client Requests
- Task 7: Provide Directives to Oracle HTTP Server
- Task 8: Configure OracleAS Web Cache with Operations
Ports
- Task 9: Configure Origin Server, Load Balancing, and
Failover Settings
- Task 10: Configure Web Site Settings
- Task 11: Specify Caching Rules
- Task 12: Restart OracleAS Web Cache