The Page Cache is used to speed-up recurring executions of PHP scripts in your application. This is achieved by caching the PHP output (HTML) for specific URLs on first execution, to reuse the cached data for subsequent calls. Cache behavior is defined using a flexible rule system that allows you to maintain the dynamic capabilities of your applications.
To better understand the procedures described in this topic, watch this video:
The following procedure describes how to create a new cache rule. Click here to see how to create a copy of a caching rule.
|
|
||||||||||||
|
To create a new caching rule:
|
||||||||||||
In the toolbar, the restart icon lights up , indicating a restart is needed to apply changes. Click to restart server and apply changes. |
To edit a rule, go to Caching | Page Cache and click next to the rule you want to edit.
To clear the information in the cache for a specific rule, go to Caching | Page Cache and click next to the rule you want to edit.
The following procedure describes how to create a new rule based on an already existing rule. This option can be used when a new rule with settings similar to an existing rule needs to be created such as for different URLs with the same caching requirements.
|
|
|
To duplicate a caching rule:
|
In the toolbar, the restart icon lights up , indicating a restart is needed to apply changes. Click to restart server and apply changes. |
The following procedure describes how to remove a caching rule.
|
|
|
To remove a caching rule:
|
In the toolbar, the restart icon lights up , indicating a restart is needed to apply changes. Click to restart server and apply changes. |
The following procedure describes how to clear the cache for a caching rule.
|
|
|
To clear rule cache:
|
In the toolbar, the restart icon lights up , indicating a restart is needed to apply changes. Click to restart server and apply changes. |
The following procedure describes how to configure the Zend Page Cache component.
|
|
|
To configure the component:
|
For information on configuring the component daemon directives, see Configuring Component Daemon Directives (Zend Session Clustering, Zend Deployment, Zend Java Bridge, Zend Job Queue, and Zend Monitor). |