File View

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:

  1. 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.

  2. 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.

 

Tree View

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.

 

Tree View - Virtual Hosts List

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:

  1. To Benchmark test cached files. The Zend Benchmark (Performance | Testing) tests URLs per Virtual Host.

  2. 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.

 

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.

File View - Dynamic Content Caching

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

2. Modify file settings

3. Fine tune caching conditions

4. Define files to blacklist

 

Define Caching Settings:

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:

 

Modify File Settings

To Modify File Settings:

  1. Select a directory in the Tree View. The list of files residing in that directory is displayed in the File View.

  2. Check the box next to the file(s) you wish to modify or the directory to select all files (and sub-directories) under it.

  3. Click on the relevant icon in the toolbar.

 

Fine Tune Caching Conditions

Caching conditions can be changed per file or group of files.

 

To modify Caching Conditions:

  1. Check the box next to the directory or cached file(s).

  2. 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).

  3. 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:

 

Caching conditions may also apply to Variables stored in an Array.

 

Define files to Blacklist

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.

 

Related Topics