Applies To:

Show Versions Show Versions

Manual Chapter: Using Acceleration Policies to Manage and Respond to HTTP Requests
Manual Chapter
Table of Contents   |   Next Chapter >>

Overview: Acceleration policies

An acceleration policy is a collection of defined rule parameters that dictate how the BIG-IP system handles HTTP requests and responses. The BIG-IP system uses two types of rules to manage content: matching rules and acceleration rules. Matching rules are used to classify requests by object type and match the request to a specific acceleration policy. Once matched to an acceleration policy, the BIG-IP system applies the associated acceleration rules to manage the requests and responses.

Depending on the application specific to your site, 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). For this reason, the BIG-IP system applies matching rules twice: once to the request, and a second time to the response. This means that a request and a response can match to different acceleration rules, but it ensures that the response is matched to the acceleration policy that is best suited to it.

Task summary for using acceleration policies to manage and respond to HTTP requests

Perform these tasks to use policies to manage and respond to HTTP requests.

Task summary

Accessing the Policy Viewer screen

The Policy Viewer displays the matching rules and acceleration rules for predefined acceleration policies.
  1. On the Main tab, click Acceleration > Web Application > Policies. The Policies screen displays a list of existing acceleration policies.
  2. Click the name of a predefined acceleration policy.
The Policy Viewer screen appears for the predefined acceleration policy.
Note: You cannot edit the settings for a predefined policy.

Copying an acceleration policy

Create a user-defined acceleration policy most efficiently by copying an existing acceleration policy and modifying its rules to meet your unique requirements.
  1. On the Main tab, click Acceleration > Web Application > Policies. The Policies screen displays a list of existing acceleration policies.
  2. In the Tools column, click Copy for the acceleration policy you want to copy.
  3. Name the policy.
  4. Specify a folder, based on your configuration.
    • For a symmetric or farm configuration, from the Sync Folder list, select the name of a symmetric folder.
    • For an asymmetric configuration, from the Sync Folder list, select No Selection.
  5. In the Description field, type a description.
  6. Click Copy.
The acceleration policy appears in the Policy column.

Creating a user-defined acceleration policy from a predefined acceleration policy

You can copy a predefined acceleration policy, and modify applicable nodes, matching rules, and acceleration rules, to create a user-defined acceleration policy.
  1. On the Main tab, click Acceleration > Web Application > Policies. The Policies screen displays a list of existing acceleration policies.
  2. In the Tools column, click Copy for the predefined acceleration policy you want to copy.
  3. Name the policy.
  4. Specify a folder, based on your configuration.
    • For a symmetric or farm configuration, from the Sync Folder list, select the name of a symmetric folder.
    • For an asymmetric configuration, from the Sync Folder list, select No Selection.
  5. Click Copy.
  6. Click the name of the new user-defined acceleration policy.
  7. Create, delete, or modify nodes, matching rules, and acceleration rules, as necessary.
  8. Publish the acceleration policy.
    1. Click Publish.
    2. In the Comment field, type a description.
    3. Click Publish Now.
The user-defined acceleration policy appears in the Policy column.

Creating a new user-defined acceleration policy

You can create a new user-defined acceleration policy and define each matching rule and acceleration rule individually.
  1. On the Main tab, click Acceleration > Web Application > Policies. The Policies screen displays a list of existing acceleration policies.
  2. Click Create.
  3. Name the policy.
  4. In the Description field, type a description.
  5. Click Create.
  6. Click the name of the new user-defined acceleration policy.
  7. Create the Policy Tree by defining branch nodes for groups of content, and leaf nodes for specific content.
  8. Specify the matching and acceleration rules for each node.
  9. Click Exit Policy Editor.
The acceleration policy appears in the Policy column.

Importing an acceleration policy

An acceleration policy must have been saved.
You can import a saved acceleration policy file, as necessary.
  1. On the Main tab, click Acceleration > Web Application > Policies. The Policies screen displays a list of existing acceleration policies.
  2. Click Import.
  3. Click Browse, and browse to the location of the XML file that you want to import.
  4. Name the policy.
  5. Specify a folder, based on your configuration.
    • For a symmetric or farm configuration, from the Sync Folder list, select the name of a symmetric folder.
    • For an asymmetric configuration, from the Sync Folder list, select No Selection.
  6. Specify the overwrite method:
    • Select the Overwrite existing policy of the same name check box to replace an existing acceleration policy with the imported acceleration policy with the same name.
    • Clear the Overwrite existing policy of the same name check box to replace the existing acceleration policy.
  7. Click Import.
The acceleration policy appears in the Policy column.

Publishing a user-defined acceleration policy

When you create a new acceleration policy, you must publish it before you can assign it to an application. The BIG-IP device uses a modified acceleration policy to manage traffic only after you publish it.
  1. On the Main tab, click Acceleration > Web Application > Policies. The Policies screen displays a list of existing acceleration policies.
  2. In the Tools column, click Publish for the user-defined acceleration policy you want to publish.
  3. Click Publish Now.
The user-defined acceleration policy is published.

Modifying an acceleration policy's rules

You can modify the acceleration rules for a user-defined acceleration policy to meet your unique requirements.
  1. On the Main tab, click Acceleration > Web Application > Policies. The Policies screen displays a list of existing acceleration policies.
  2. Click the name of a user-defined acceleration policy.
  3. Click a node in the Policy Tree.
  4. From the Matching Rules menu, choose Acceleration Rules.
  5. Click an item on the Acceleration Rules menu to view the rules for that item.
  6. Edit the settings, as necessary.
  7. Click Save.
The modified rules appear for the acceleration rules menu item.

Viewing rules for an acceleration policy

You can view the acceleration rules for an acceleration policy and determine what rules apply to each node.
  1. On the Main tab, click Acceleration > Web Application > Policies. The Policies screen displays a list of existing acceleration policies.
  2. Specify the type of acceleration policy:
    • Click the name of a user-defined acceleration policy.
    • Click the name of a predefined acceleration policy.
  3. Click a node in the Policy Tree.
  4. From the Matching Rules menu, choose Acceleration Rules.
  5. Click an item on the Acceleration Rules menu to view the rules for that item.
The acceleration rules for the selected item appear for the node.

Saving an acceleration policy to an XML file

When you change an acceleration policy, you can export it to an XML file so that you always have a copy of the most recent acceleration policy.
  1. On the Main tab, click Acceleration > Web Application > Policies. The Policies screen displays a list of existing acceleration policies.
  2. Click Export.
  3. In the Export list, select one of the following:
    Item Description
    Published Policy Exports an acceleration policy that an application is currently using. If the acceleration policy has not been published, this option does not display.
    Development Policy Exports an unpublished acceleration policy.
  4. Click Export.
  5. Click Save.
  6. Navigate to the location where you want to save the file.
  7. Click Save.
The acceleration policy is exported as an XML file.

Deleting a user-defined acceleration policy

You can delete a user-defined policy, as necessary.
  1. On the Main tab, click Acceleration > Web Application > Policies. The Policies screen displays a list of existing acceleration policies.
  2. Select the check box for the applicable acceleration policy.
  3. Click Delete.
The policy is deleted.

Overview: Policy Editor screen

From the Policy Editor screen, you can view the matching rules and acceleration rules for user-defined and predefined acceleration policies, as well as create or modify user-defined acceleration policies.

Policy Editor screen for an example acceleration policy Policy Editor screen for an example acceleration policy

Task summary for using the Policy Editor

Perform these tasks to use the Policy Editor.

Task summary

Accessing the Policy Editor screen

The Policy Editor displays the matching rules and acceleration rules for user-defined acceleration policies, and enables you to modify user-defined acceleration policies.
  1. On the Main tab, click Acceleration > Web Application > Policies. The Policies screen displays a list of existing acceleration policies.
  2. Click the name of a user-defined acceleration policy.
The Policy Editor screen appears for the user-defined acceleration policy.

Viewing the Policy Tree for an acceleration policy

Matching rules and acceleration rules for acceleration policies are organized on the Policy Tree, which you access from the Policy Editor screen.
  1. On the Main tab, click Acceleration > Web Application > Policies. The Policies screen displays a list of existing acceleration policies.
  2. Specify the type of acceleration policy:
    • Click the name of a user-defined acceleration policy.
    • Click the name of a predefined acceleration policy.
The Policy Tree appears on the left side of the Policy Editor screen.
Table of Contents   |   Next Chapter >>

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)