Writing a Web Compression Resource Policy
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:
- In the admin console, choose Users > Resource Policies > Web.
- If your administrator view is not already configured to show compression policies, make the following modifications:
- Click the Customize button in the upper right corner of the page.
- Select the Compression check box.
- Click OK.
- Select the Compression tab.
- On the Web Compression Policies page, click New Policy.
- Enter a name to label this policy (required) and a description of the policy (optional).
- In the Resources section, specify the URLs to which this policy applies.
- In the Roles section, specify:
- Policy applies to ALL roles - 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.
- 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.
- Click Save Changes.
