In the URL Parameters to Ignore field, specify the site-specific parameters.

6-20 Oracle Fusion Middleware Administrators Guide for Oracle Web Cache 4. Select the HTTP error codes you want Oracle Web Cache to cache and serve for this rule. Ensure the origin server generates the HTTP error itself.

5. Click OK to apply changes.

6. Restart Oracle Web Cache. See Section 2.13 .

6.8.6 Configuring Session Caching Rules

To understand how Oracle Web Cache serves requests with the existence or nonexistence of session cookies, embedded URL parameters, or POST body parameters, see Section 6.5.4 . To specify how session-related pages are served by Oracle Web Cache:

1. From the Web Cache menu, select Administration and then select Session

Configuration . The Session Definitions page displays.

2. Create a session definition in the Session Definitions table. See

Section 2.12 . 3. Specify session policy settings:

a. In the Session Policy Configuration section, click Create.

A new row in the table appears.

b. From the Session Name list, select the session you created in Step 2.

c. In the Cache column, select the Without Session check box for Oracle Web

Cache to cache versions of objects that do not use the cookie or parameter; select No for Oracle Web Cache not to serve objects from the cache for requests without the session information.

d. In the Cache column, select the With Session check box for Oracle Web Cache

to cache versions of objects that use the cookie or parameter.

e. In the Substitute Default Value column, select the check box to instruct

Oracle Web Cache to cache one version of the object. For those requests without a cookie or parameter, a default value is used. Do not select the check box to instruct Oracle Web Cache to cache two different versions of the object. Oracle Web Cache serves one version to those requests that support the cookie or parameter and serves the other version to those requests that do not support the cookie or parameter. 4. Create a caching rule. See Section 6.8.1 . 5. Associate session policies with a caching rule:

a. From the Site-Specific Caching Rules or the Global Caching Rules section of

the Create Caching Rule page, select the rule you created and click Edit. The Edit Caching Rules page displays. b. Click the Sessions tab.

c. From the Session Definition list, select the sessions you created in Step 2 and

defined a policy for in Step 3.

d. Click OK to apply changes.

6. Restart Oracle Web Cache. See Section 2.13 .