|
|
|
Most performance configurations are done in the File View screen. Before describing the configuration tasks, it is important to understand the screen’s layout and functionality.
The File View screen consists of two sections:
The Tree View on the left displays the list of directories and provides options for filtering the view (by status: Cached, Accelerated, Blacklisted and Compressed) the Virtual Hosts list is also updated from here.
The File View on the right lists files and their status, and also includes the different caching, acceleration and compression options that can be applied to selected files or to entire directories.
Note:
Status changes made in the File View screen are immediately reflected on the screen.
However, the actual changes take affect only after manually restarting the HTTP Server. A reminder to restart Apache, will appear on screen after changes are made and disappears only after restarting the server.
The Tree View on the left displays the directories available under a selected document root. All the directories are listed by default.
The list includes filtering options to display directories by file type. To filter the list, select the file type from the drop down list.
The filtering options are: All Files, Cached Files, Acceleration Blacklist Files, and Compression Blacklist Files.
To refresh the list of files displayed on the right: click a directory’s name.
The Tree View lists all the directories and files in the default Document Root as well as any Document Root listed in the Vhost List. Displaying all the directories and files enables to view files included in the Document Root directly from Zend Platform and select files for Dynamic Content Caching.
Upon initial setup it is important to verify that all the applicable Virtual Hosts are included in the Virtual Hosts List for two distinct purposes:
To Benchmark test cached files. The Zend Benchmark (Performance | Testing) tests URLs per Virtual Host.
To update the File View option to reflect all Virtual Host’s Document Roots.
The Tree View option maps all the Server’s Document Roots providing a single view for displaying all the available directories and their contained files. Adding and deleting a Virtual host should reflect the actual Document Root activity on the server. (I.e. if you add/remove a document root from the server, you should add/remove its respective Virtual Host from the list).
Note:
The initial installation process creates a default Virtual Host list however; this may not include all the required virtual hosts and some may need to be added/removed.
Updating the Virtual Hosts List:
In order for Platform Performance to display files residing in a particular Document Root, you must add the Virtual Host to the list
The Virtual Host list in the File View reflects the current Virtual Host list as defined in Manage Servers /Groups. You can update the list directly from the File View.
The File View displays files in a table, which can be sorted by column. The sorting options are: Status, File Name, Lifetime and Conditions.
Once all the Virtual Hosts have been established, and the default Caching Conditions have been set. Specific Content Caching settings can be applied to selected files or directories.
Content Caching activities include the following in chronological order:
1. Define default caching settings
3. Fine tune caching conditions
The File View screen lists all the directories and files in the default Document Root as well as any Document Roots listed in the “Vhost List”.
Any cached file that has not been explicitly defined, automatically inherits the default cache settings
To open the File View screen, go to: Performance | File View.
The File view screen provides the following Full Page Content Caching options:
Cache - Select files to be cached and press to enable content caching for the selected files.
Do not Cache - Disables Content Caching for the selected files.
Define Cache - Displays the “Define Caching Conditions” screen to add detailed configurations for selected files.
Update Blacklists - Opens and modifies the current Blacklist.
Clean - Cleans cached file copies.
Undo - Cancels the last change to the settings.
To Modify File Settings:
Select a directory in the Tree View. The list of files residing in that directory is displayed in the File View.
Check the box next to the file(s) you wish to modify or the directory to select all files (and sub-directories) under it.
Click on the relevant icon in the toolbar.
Caching conditions can be changed per file or group of files.
To modify Caching Conditions:
Check the box next to the directory or cached file(s).
Click Define Cache to open the Define Caching Conditions Dialog. (Alternately click on a Cached file i.e. a file with the Cached indicator next to it).
Apply Caching settings and press Save to save and close the dialog.
Modified settings will be displayed in the File View Tab next to the selected file/s. The Web server should be restarted in order to activate the new caching conditions. The restart server message, will remain on the screen until the server is restarted.
The Define Caching Conditions dialog includes three buttons:
Restore Defaults - Returns to the default caching settings.
Save - The new settings are saved and are reflected on the screen but the changes will take effect only after restarting the server.
Cancel - Cancels the new changes and returns to the previous settings.
Caching conditions may also apply to Variables stored in an Array.
The Blacklist separates acceleration and compression settings for files. With the blacklist users can prevent files from being accelerated or compressed. Press here for more information on Blacklists.