Applies To:

Show Versions Show Versions

Manual Chapter: Using Acceleration Policies
Manual Chapter
Table of Contents   |   << Previous Chapter   |   Next Chapter >>

The Policies screen displays all of the acceleration policies available to the applications that are managed by the WebAccelerator system.
You can edit, delete, publish, or rename user-defined acceleration policies at any time; however, you cannot edit or delete pre-defined acceleration policies.
1.
On the Main tab of the navigation pane, expand WebAccelerator and click Applications.
The Applications screen opens in a new window.
2.
On the Main tab of the navigation pane in the new window, click Policies.
The Policies screen opens, displaying a table of user-defined and pre-defined acceleration policies.
4.
Click a node in the Policy Tree.
The matching rules display for the selected node.
5.
From the Matching Rules menu, select Acceleration Rules.
The acceleration rules appear on the menu bar.
1.
On the Main tab of the navigation pane, expand WebAccelerator and click Applications.
The Applications screen opens in a new window.
2.
On the Main tab of the navigation pane in the new window, click Policies.
The Policies screen opens, displaying a table of user-defined and pre-defined acceleration policies.
3.
On the User-defined Acceleration Policies table, click Rename next to the user-defined acceleration policy that you want to rename.
The Rename Policy screen opens.
4.
In the Name box, type a new name for the acceleration policy.
5.
In the Description box, type an optional description.
6.
Click the Rename button to save the changes.
The Policies screen opens with the new name listed in the User-defined Acceleration Policies table.
Warning: You can keep an acceleration policy to refer to, even if you do not have an application that is using it. Do not delete an acceleration policy unless you are sure that you do not ever want to refer to it again. If you delete an acceleration policy, you cannot recover it.
1.
On the Main tab of the navigation pane, expand WebAccelerator and click Applications.
The Applications screen opens in a new window.
2.
On the Main tab of the navigation pane in the new window, click Policies.
The Policies screen opens, displaying a table of user-defined and pre-defined acceleration policies.
3.
On the User-defined Acceleration Policies table, check the box next to the user-defined acceleration policy that you want to delete, and then press the Delete button.
The Delete Policy Confirmation screen opens.
4.
Click the Delete button to confirm the deletion, keeping in mind that you cannot recover a deleted acceleration policy.
The Policies screen opens, and the User-defined Acceleration Policies table refreshes without the acceleration policy you deleted.

If you choose not to delete this user-defined acceleration policy, press the Cancel button to cancel the action.
The Policies screen opens and the User-defined Acceleration Policies table displays with no change.
You use the Policy Editor to view, create, and modify the rules and associated Policy Tree nodes for an acceleration policy.
1.
On the Main tab of the navigation pane, expand WebAccelerator and click Applications.
The Applications screen opens in a new window.
2.
On the Main tab of the navigation pane in the new window, click Policies.
The Policies screen opens, displaying a table of user-defined and pre-defined acceleration policies.
3.
Click the name of an existing acceleration policy.
Alternatively, to create a user-defined acceleration policy, click the copy link next to an existing acceleration policy, or the Create button.
The Policy Editor screen opens.
Figure 3.2, following, illustrates the Policy Editor screen for an example acceleration policy.
Policy Tree
The Policy Tree is located on the left side of the Policy Editor screen. Each leaf node in the Policy Tree represents matching and acceleration rules. The Policy Tree function bar incudes the following options:
Add
Use this option to add a new branch or leaf node.
Rename
Use this option to change the name of a branch or leaf node.
Delete
Use this option to remove a branch or leaf node.
Copy
Use this option to copy a branch or leaf node.
up, down arrows
Use these options to change the priority of a leaf node up or down within the branch node of the Policy Tree.
Screen trail
Located to the right of the Policy Tree, and above the Policy Editor menu bar, the screen trail displays (horizontally) the screens that you accessed in order to arrive at the current screen. You can click the name of a screen in the trail to move back to a previous location.
Policy Editor menu bar
Located below the screen trail, the Policy Editor menu bar contains a list from which you select Matching Rules or Acceleration Rules. If you select Acceleration Rules, the following acceleration rules options display, as illustrated in Figure 3.3.
Variation
For more information, see Chapter 7, Configuring Variation Rules.
Assembly
For more information, see Chapter 8, Configuring Assembly Rules.
Proxying
For more information, see Chapter 9, Configuring Proxying Rules.
Lifetime
For more information, see Chapter 10, Configuring Lifetime Rules.
Invalidations
For more information, see Chapter 11, Configuring Invalidations Rules.
Connections
For more information, see Chapter 12, Configuring Connections Rules.
In most cases, you can use a pre-defined acceleration policy to manage HTTP requests for your applications. If, however, you have a unique application for which you cannot use an existing acceleration policy, you can create a new acceleration policy by using an existing acceleration policy as a template, and tailoring it to suit your needs.
The first step in customizing the WebAccelerator systems behavior is to analyze the types of HTTP requests that your site receives, and determine how you want the WebAccelerator system to handle them. Answering questions similar to those following will help you decide how many different acceleration policies you need.
Are there requests for static documents that can remain in the WebAccelerator systems cache for several days?
Once you decide on the different ways that the WebAccelerator system should handle specific requests and responses for your site, you need to determine how the WebAccelerator system can identify those requests, so that it can apply the appropriate acceleration policies.
For example, the path found on requests for static documents may be different than the path for dynamic documents. Or the paths may be similar, but the static documents are in PDF format and the dynamic documents are Word documents or Excel spreadsheets. These differences help you choose or create the acceleration policies and associated matching rules that the WebAccelerator system applies to an incoming HTTP request.
Depending on how your site works, information in requests can sometimes imply one type of response (such as a file extension of .jsp), when the actual response is a bit different (like a simple document). The WebAccelerator system applies matching rules twice: once to the request, and a second time to the response. This means that the WebAccelerator system can match a request and a response to different acceleration rules, but it ensures that the response is matched to the acceleration policy that is best suited to it.
If you analyze your application requirements and determine that you need to create a user-defined acceleration policy, you can do it most efficiently by copying an existing acceleration policy and modifying the associated matching and acceleration rules to meet your unique requirements. Optionally, you can create a new user-defined acceleration policy and define each individual matching and acceleration rule.
When you copy or create an acceleration policy, the WebAccelerator system maintains that acceleration policy as a development copy until you publish it, at which time the WebAccelerator system creates a production copy. Only a production (published) copy of an acceleration policy is available to applications. This means you can edit the development copy of an acceleration policy, while the WebAccelerator system continues to use the current production version of the acceleration policy. You can make as many changes as you like to the development copy of the acceleration policy without affecting the current applications.
1.
On the Main tab of the navigation pane, expand WebAccelerator and click Applications.
The Applications screen opens in a new window.
2.
On the Main tab of the navigation pane in the new window, click Policies.
The Policies screen opens, displaying a table of user-defined and pre-defined acceleration policies.
3.
Click Copy next to the acceleration policy that you want to copy.
The Copy Policy screen opens.
4.
In the Name box, type a name for the copy of the acceleration policy. Make the name descriptive so you can easily identify this acceleration policy when viewing the User-Defined Acceleration Policies table.
5.
In the Description box, type an optional description.
6.
Click the Copy button.
The Policies screen displays the acceleration policy that you copied in the User-Defined Acceleration Policies table. This new acceleration policy contains all of the matching and acceleration rules from the original acceleration policy that you copied.
1.
On the Main tab of the navigation pane, expand WebAccelerator and click Applications.
The Applications screen opens in a new window.
2.
On the Main tab of the navigation pane in the new window, click Policies.
The Policies screen opens, displaying a table of user-defined and pre-defined acceleration policies.
3.
Click the Create button located above the User-Defined Acceleration Policies table.
The New Policy screen opens.
4.
In the Name box, type a name for the acceleration policy. Make the name descriptive so you can easily identify this acceleration policy when viewing the User-Defined Acceleration Policies table.
5.
In the Description box, type an optional description.
6.
Click the Create button.
The Policies screen opens, displaying the new acceleration policy that you created in the User-Defined Acceleration Policies table.
7.
On the User-defined Acceleration Policies table, click the name of the acceleration policy that you created.
The Policy Editor screen opens.
See Chapter 4, Introducing the Policy Tree, for details about how to create a Policy Tree. For a new or modified acceleration policy to be in effect for your site, you must publish it. See Publishing acceleration policies, for more information.
When you are modifying, creating, or copying an acceleration policy, the WebAccelerator system keeps that acceleration policy in development mode, until you publish it. This allows you to edit the acceleration policy as required, while the WebAccelerator system continues to process requests to your applications, using the currently published (production) copy of the acceleration policy.
Once you have completed the configuration for the new or modified acceleration policy, you must publish it before the WebAccelerator system can use it to manage requests to your applications.
When you modify rules for an existing user-defined acceleration policy that is already assigned to an application, the WebAccelerator system propagates the changes to the acceleration policy profile that is in production as soon as you publish it, and starts using the modified acceleration policy to handle requests.
1.
On the Main tab of the navigation pane, expand WebAccelerator and click Applications.
The Applications screen opens in a new window.
2.
On the Main tab of the navigation pane in the new window, click Policies.
The Policies screen opens, displaying a table of user-defined and pre-defined acceleration policies.
3.
On the User-defined Acceleration Policies table, click Publish next to the acceleration policy that you want to publish.
The screen refreshes and displays a comment box.
4.
In the Comment box, type any optional text that you want displayed with the publishing details, such as a brief summary of the changes you made to the acceleration policy.
5.
Click the Publish Now button.
The Policies screen refreshes and displays the current date and time in the Last Published column, next to the acceleration policy that you published.
Optionally, you can click the Publish button from any screen within the Policy Editor to open the publish screen, where you can publish the acceleration policy. We recommend that if you are making a series of changes to an acceleration policy, click the Publish button on the Policy Editor screen only after you make the last change in the series.
You can use the export feature to save an acceleration policy to an XML file for back up and archival purposes, or to provide to the F5 Networks Technical Support team for troubleshooting issues. Use the export feature every time you change an acceleration policy, so that you always have a copy of the most recent acceleration policy.
1.
On the Main tab of the navigation pane, expand WebAccelerator and click Applications.
The Applications screen opens in a new window.
2.
On the Main tab of the navigation pane in the new window, click Policies.
The Policies screen opens, displaying a table of user-defined and pre-defined acceleration policies.
3.
Click Export next to the acceleration policy that you want to export.
The Export Policy screen opens.
4.
From the Export list, select one of the following:
Published Policy
Exports the published acceleration policy that your applications is currently using. If you have not yet published the acceleration policy you are exporting, this option does not display in the list.
Development Policy
Exports the unpublished development acceleration policy.
5.
Click the Export button.
A separate window opens, prompting you to open or save the XML file.
6.
Click the Save button.
A separate window opens, prompting you to navigate to the location where you want to save the file. The default location is your desktop.
7.
Click the Save button.
The file is saved to the location you specified.
Once you export an acceleration policy and save the XML file, you can import it, using the import feature. When you import an acceleration policy, you also publish it.
1.
On the Main tab of the navigation pane, expand WebAccelerator and click Applications.
The Applications screen opens in a new window.
2.
On the Main tab of the navigation pane in the new window, click Policies.
The Policies screen opens, displaying a table of user-defined and pre-defined acceleration policies.
3.
Check the box next to the user-defined acceleration policy that you want to import, and click the Import button (located above the User-defined Acceleration Policies table).
The Import Policies screen opens.
4.
Click the Browse button to browse and locate the XML file you want to import.
If you do not want to replace the existing acceleration policy, clear the Overwrite existing policy of the same name box. You can rename the acceleration policy after you import it.
If you want to replace an existing acceleration policy with the imported acceleration policy with the same name, check the Overwrite existing policy of the same name box.

Was this resource helpful in solving your issue?




NOTE: Please do not provide personal information.



Incorrect answer. Please try again: Please enter the words to the right: Please enter the numbers you hear:

Additional Comments (optional)