Databases Reference
In-Depth Information
condition that does a check on the system date so that caching will only be applied during the month of
December, when you can expect a larger number of hits from holiday shoppers.
7-5. Enabling Page Caching
Problem
You have a page that consists mostly of static data. You want to improve the rendering performance of
this page.
Solution
Page caching, as opposed to region caching, caches the static HTML of an entire page. To enable page
caching, please follow these steps:
1.
Log in to APEX and open any application that contains a form. (To create a
form page, please see Recipe 2-1). Navigate to the Page Rendering view of the
form page.
2.
Right-click on the root node, and choose the Edit menu item in the pop-up
menu. This will bring you to the Page Definition page.
3.
Click the Cache tab. Change the Cache drop-down list from No to Yes.
4.
You should now be able to set the timeout value for the cache (the amount of
time the region should stay cached) to 1 hour and the Cache condition type to
Always, as shown in Figure 7-8.
 
Search WWH ::




Custom Search