---
title: Writing a Web Compression Resource Policy
slug: ps/help/en_us/ics/com/wrcg/writing-a-web-compression-resource-policy
docTags: 
createdAt: 2026-08-03T10:00:46.585Z
---

The system comes pre-equipped with one Web compression policy (\*:\*/\*) which compresses all applicable Web data. You can enable this policy through the **Users > Resource Policies > Web > Compression** pages of the admin console.

To write a Web compression resource policy:

1. In the admin console, choose **Users > Resource Policies > Web.**
2. If your administrator view is not already configured to show compression policies, make the following modifications:
3. Click the **Customize** button in the upper right corner of the page.
4. Select the **Compression** check box.
5. Click **OK**.
6. Select the **Compression** tab.
7. On the Web Compression Policies page, click **New Policy**.
8. Enter a name to label this policy (required) and a description of the policy (optional).
9. In the Resources section, specify the URLs to which this policy applies.
10. In the Roles section, specify:
    - **Policy applies to ALL roles&#x20;**- To apply this policy to all users.
    - **Policy applies to SELECTED roles** - To apply this policy only to users who are mapped to roles in the Selected roles list. Make sure to add roles to this list from the Available roles list.
    - **Policy applies to all roles OTHER THAN those selected below** - To apply this policy to all users except for those who map to the roles in the **Selected roles** list. Make sure to add roles to this list from the **Available roles** list.
11. In the Action section, specify:
    - **Compress** - Compress the supported content types from the specified resource.
    - **Do not compress** - Do not compress the supported content types from the specified resource.
    - **Use Detailed Rules** - Select this option to specify one or more detailed rules for this policy.
12. Click **Save Changes**.
