Creating a Web Application Acceleration Policy

Create a web application acceleration policy to speed up traffic on your layer 7 HTTP load balancers by applying a combination of caching and compression.

Note

The Web Application Acceleration cache automatically contains the newest cacheable content and is limited to 100 MB total by default. The cache size can be increased by opening a Service Request.

    1. On the Web Application Acceleration list page, select Create WAA policy. If you need help finding the list page or the web application acceleration policy, see Listing Policies.
      The Create WAA policy panel opens.
    2. Enter the following information:
      • Name: Enter the name for the web application acceleration.

      • Compartment: Select the compartment where you're creating the web application acceleration policy from the list.

      • Caching: Select to enable caching for the web application acceleration policy.

      • Compression: Select to enable compression for the web application acceleration policy.

    Create one or more accelerations (Optional)

    The accelerations you create are applied to the load balancer you select. This task provides the same result as described in Creating an Acceleration.

    Enter the following information:

    • Load balancer compartment: Select a compartment containing the load balancer you want to use from the list to create an acceleration. The web application acceleration policy you create is applied to the load balancer you select.

    • Load balancer: Select the load balancer you want to use from the list.
    • Add acceleration: Select to display another row where you can select another load balancer to which the web application acceleration policy is applied.

    Tags

    If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later.

    Select Create WAA policy.

    The web application acceleration policy list displays the web application acceleration policy you created.

  • Use the oci waa web-app-acceleration-policy create command and required parameters to create a web application acceleration policy:

    oci waa web-app-acceleration-policy create --compartment-id compartment_ocid [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreateWebAppAccelerationPolicy operation to create a web application acceleration policy.