Skip Headers
Oracle9
i
AS Web Cache Administration and Deployment Guide
Release 2 (9.0.2)
Part Number A95404-02
Home
Solution Area
Index
Contents
Title and Copyright Information
List of Figures
List of Tables
Send Us Your Comments
Preface
Intended Audience
Organization
Related Documentation
Conventions
Documentation Accessibility
What's New in Oracle9
i
AS Web Cache?
New Features in Release 2 (9.0.2)
New Features in Release 2.0
Part I Getting Started with Oracle9
i
AS Web Cache
1 Introduction to Oracle9
i
AS Web Cache
What is the Big Picture for Caching?
Oracle's Solution to Web Site Performance Issues
How Web Caching Works
Benefits of Web Caching
Features of Oracle9
i
AS Web Cache
Static and Dynamically Generated Content Caching
Cache Invalidation
Performance Assurance
Site Support
Virtual Host Sites
ESI Provider Sites
Site Definitions and Site-to-Server Mappings
How Oracle9
i
AS Web Cache Locates Application Web Severs or Proxy Servers
Cache Hierarchies
Cache Clusters
Application Web Server and Proxy Server Features
Surge Protection
Load Balancing
Backend Failover
Session Binding
Security Features
Restricted Administration
Secure Sockets Layer (SSL) Support
Compression
Compatibility with Oracle9
i
AS Components
2 Caching Concepts
Populating Oracle9
i
AS Web Cache
Cache Freshness and Performance Assurance
Invalidation and Expiration
Performance Assurance Heuristics
Invalidation Propagation
Invalidation in Hierarchies
Invalidation in Cache Clusters
Caching Dynamically Generated Content
Multiple Versions of the Same Document
Personalized Attributes
Controlling How Personalized Attribute Requests Are Served by the Cache
Session Information
Ignoring the Value of Embedded URL Parameters
Substituting Session Information in Session-Encoded URLs
Controlling How Session Requests Are Served by the Cache
Content Assembly and Partial Page Caching
Page Assembly Components
Fragmentation with the Inline and Include Tags
Using Inline for Non-Fetchable Fragmentation
Using Inline for Fetchable Fragmentation
Using Include for Fragmentation
Cookie Management for Template Pages and Fragments
ESI Features
ESI for Java (JESI)
Request and Response-Header Fields
Surrogate-Capability Request-Header Field
Server Response-Header Field
Surrogate-Control Response-Header Field
3 Cache Clustering
Overview of Cache Clusters
Benefits of Cache Clusters
How Cache Clusters Work
How Cache Content Is Distributed
Failure Detection and Failover
4 Deploying Oracle9
i
AS Web Cache
Caching Content for One Application Web Server
Load Balancing Requests Among Application Web Servers
Using Oracle9
i
AS Web Cache Servers in a Failover Pair
Accelerating Portions of a Web Site
Caching Content for HTTPS Requests
Using Oracle9
i
AS Web Cache to Support Multiple Sites
Multiple Internal Virtual Host Sites
Multiple Internal ESI Provider Sites
Multiple External Sites
Using Oracle9
i
AS Web Cache Clusters to Increase Availability
Working with Firewalls
Deploying a Distributed Cache Hierarchy
5 Configuration and Administration Tools Overview
Oracle9
i
AS Web Cache Manager for Configuration and Management
Starting Oracle9
i
AS Web Cache Manager
Navigating Oracle9
i
AS Web Cache
Apply Changes and Cancel Changes Buttons
Status Messages
Navigator Pane
Right Pane
The Operations Page
Oracle Enterprise Manager for Metrics
webcachectl Utility for Process Administration
Oracle9
i
AS Web Cache Configuration Files
Configuration and Administration Tasks at a Glance
Part II Configuration and Administration of Oracle9
i
AS Web Cache
6 Initial Setup and Configuration
Setting Up Oracle9
i
AS Web Cache
Task 1: Start Oracle9
i
AS Web Cache and the Oracle9
i
AS Web Cache Manager
Task 2: Modify Security Settings
Task 3: Configure Oracle9
i
AS Web Cache with Listening Ports for Incoming Browser Requests
Task 4: Provide Directives to Oracle HTTP Server
Task 5: Configure Oracle9
i
AS Web Cache with Operations Ports
Task 6: Configure Auto-Restart Process Settings
Task 7: Configure Network Time-outs
Task 8: Set Resource Limits
Cache Memory
Connection Limit
Task 9: Specify Settings for Origin Servers
Task 10: Configure Web Site Settings
Default Site Settings
Virtual Host Site Example Settings
ESI Provider Site Example Settings
Task 11: Specify Caching Rules
Task 12: Apply Changes and Restart Oracle9
i
AS Web Cache
Configuring Oracle9
i
AS Web Cache for HTTPS Requests
Task 1: Create Wallets
Enabling Wallets to Open on Windows
Task 2: Configure HTTPS Ports and Wallet Location
Task 3: (Optional) Permit Only HTTPS Requests for a Site
Configuring Multiple Origin Servers
Configuring Load Balancing and Failover
Binding a Session to an Origin Server
Configuring a Hierarchy of Caches
Configuring a Distributed Cache Hierarchy
Configuring an ESI Cache Hierarchy
Configuring a Cache Cluster
Task 1: Configure the Cache Cluster Settings
Task 2: Add Caches to the Cluster
Task 3: Propagate the Configuration to Cluster Members
7 Creating Caching Rules
Caching Rules Overview
Rule Creation
Rule Syntax
Default Caching Rules
Configuring Caching Rules
Caching Rule Example
Configuring Expiration Rules
Configuring Rules for Multiple-Version Documents Containing Cookies
Configuring Rules for Multiple-Version Documents Containing HTTP Request Headers
Configuring Session Definitions to Exclude the Value of URL Parameters
Configuring Session Definitions and Rules for Session-Encoded URLs
Configuring Personalized Attribute Definitions and Rules for Personalized Attributes
Example: Personalized Page Configuration
Configuring Session-Related or Personalized Attributed-Related Caching Rules
Configuring Caching Rules for Popular Pages with Session Establishment
Configuring Pages for Content Assembly and Partial Page Caching
Enabling Partial Page Caching
Using ESI for Simple Personalization
Examples of ESI Usage
Example Portal Site Implementation
Example of Simple Personalization with Variable Expressions
Configuring Caching Attributes in Response Headers
Usage Notes
Example Usage
8 Administering Oracle9
i
AS Web Cache
Starting and Stopping Oracle9
i
AS Web Cache
Propagating Configuration Changes to Cache Cluster Members
Invalidating Documents in the Cache
Sending Invalidation Requests
Manual Invalidation Using Telnet
Manual Invalidation Using Oracle9
i
AS Web Cache Manager
Automatic Invalidation Using Applications
Automatic Invalidation Using Database Triggers
Automatic Invalidation Using Scripts
Invalidation Examples
Example: Invalidating One Document
Example: Invalidating Multiple Objects
Example: Invalidating a Subtree of Documents
Example: Invalidating All Documents for a Web Site
Example: Invalidating Documents with the Prefix
Example: Invalidating Documents Using Substring and Query String Matching
Example: Propagating Invalidation Requests Throughout a Cache Cluster
Example: Previewing Invalidation
Listing the Contents of the Cache
Listing Popular Documents
Listing All Contents
Evaluating Event Logs
Format of the Event Log File
Event Log Examples
Example: Event Log with Startup Entries
Example: Event Log with Unsuccessful Startup Entries
Example: Event Log with an Invalidation Entry
Examples: Event Log with Invalidation Request Errors
Example: Event Log with Shutdown Entries
Finding Errors in the Event Log
Configuring Event Logs
Evaluating Access Logs
Format of the Access Log Files
Usage Notes
cs(
request_header
) and sc(
response_header
) Access Log Fields
Access Log Examples
Example: Access Log with Reload Entries
Example: Access Log with Status Code 404 Entry
Example: Access Log Host Name
Configuring Access Logs
9 Monitoring Performance
Monitoring Oracle9
i
AS Web Cache Health
Gathering Oracle9
i
AS Web Cache Performance Statistics
Gathering Origin Server Performance Statistics
10 Troubleshooting Oracle9
i
AS Web Cache Configuration
Startup Failures
Port Conflicts
Startup Failure from Oracle Enterprise Manager
Cache Memory
Privileged Ports
Greater Than One Thousand Maximum Connections
Wallet Cannot Be Opened
Caching Rules
Load on Oracle9
i
AS Web Cache Computer
Diagnostic Information in the Server Response-Header Field or HTML Body
Invalidation Time-outs
Query String Invalidations
Application Web Server Capacity
Content-Length Request-Header Field
HTTP 500 Response Status Codes
Administrator Password in the Change Administration Password Dialog Box
Browser-Specific Issues
Part III Reference
A Oracle9
i
AS Web Cache Directory Structure
B Oracle9
i
AS Web Cache Default Settings
C Invalidation and Statistics Document Type Definitions
Invalidation DTD
Invalidation Request and Response DTD
Invalidation Preview Request and Response DTD
Statistics DTD
Groups of Statistics
Cache Information Groups
Runtime Statistics Groups
Site Information Group
Origin Server Statistics Group
URL Statistics Group
Query Methods
Examples
Complete Statistics Template
D Edge Side Includes Language
Overview of ESI Tag Library
ESI Language Elements Supported
Syntax Rules
Nesting Elements
Variable Expressions
Usage
Variable Substructure Access
Variable Default Values
Exceptions and Errors
Apology Page
ESI Language Control
Enabling ESI
ESI Tag Descriptions
ESI include Tag
ESI inline Tag
ESI environment Tag
ESI choose | when | otherwise Tags
ESI try | attempt | except Tags
ESI comment Tag
ESI remove Tag
ESI <!--esi--->Tag
ESI vars Tag
E Event Log Messages
Information Events
Warning Events
Error Events
F Using Oracle9
i
AS Web Cache with Third-Party Application Web Servers
Overview of Third-Party Application Servers
Web-Site Configuration
Caching Rules and Expiration Rules
BEA WebLogic Server 6.0
WebLogic SnoopServlet
WebLogic SessionServlet
IBM WebSphere Application Server, Version 4.0
WebSphere Snoop Servlet
WebSphere SessionSample
Microsoft IIS 5.0
ServerVariables_Jscript ASP
Cookie_Jscript ASP
Glossary
Index
Copyright © 2002 Oracle Corporation.
All Rights Reserved.
Home
Solution Area
Index