---
title: Defining a Web Compression Autopolicy
slug: ps/help/en_us/ics/com/wrcg/defining-a-web-compression-autopolicy
docTags: 
createdAt: 2026-08-03T10:00:46.347Z
---

Web compression autopolicies specify which types of Web data the system should and should not compress. For example, since javascript does not work when compressed, you might use this feature to specify that the system should not compress javascript data going to and from an e-mail server by entering the following resource: http\://owa. pulsesecure.net.net/\*.js.

:::hint{type="info"}
In order to properly compress data, you must enable compression at the system level as well as creating compression autopolicies. To enable compression, use settings in the Maintenance > System > Options page of the admin console.
:::

To create a Web compression autopolicy:

1. Create a custom Web application resource profile.
2. If available, click th&#x65;**&#x20;Show ALL autopolicy types&#x20;**&#x62;utton to display the autopolicy configuration options.
3. Select the **Autopolicy: Web compression** check box.
4. In the **Resource** field, specify the resources to which this policy applies.
5. Select one of the following options from the Action list:
   - **Compress** - Compress the supported content types from the specified resource.
   - **Do not compress** - Do not compress the supported content types from the specified resource.
6. Click **Add**.
7. Click **Save Changes.**
