--- title: "Compression" slug: "compression-1" updated: 2025-02-26T14:42:52Z published: 2025-02-26T14:42:52Z canonical: "docs.qwilt.com/compression-1" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.qwilt.com/llms.txt > Use this file to discover all available pages before exploring further. # Compression ## Overview The Compression rule enables Brotly/GZip compression at the edge. The compression selection method is determined by the client's Accept-Encoding header. ## Configure the Rule Here, we'll describe how to configure the rule with the Delivery Service Management UI. API Users may choose to [build the site configuration offline](https://api-docs.qwilt.cqloud.com/docs/CDN%20APIs/Sites%20API/prepare-the-configuration-json). **To configure a Compression rule:** 1. [Navigate to the Select Rule dialog](/v1/docs/add-a-rule). 2. In the Select Rule dialog, choose **Compression**. 3. Toggle on **Enable Compression**. ![compressionRule80.png](https://cdn.document360.io/fa039225-513b-46a1-ba78-a57a1f1cb7c6/Images/Documentation/compressionRule80.png?sv=2026-02-06&spr=https&st=2026-11-14T03%3A47%3A14Z&se=2026-11-14T04%3A47%3A14Z&sr=c&sp=r&sig=YmtcfsuJs8eM%2BPVw464IUxUqGkoBrbYWBOYDYg5x%2FuE%3D) 4. Choose **Add Rule**. ## SVTA Component: MI.AllowCompress When you save the configuration version, the **MI.AllowCompress** component is added to the JSON configuration. In this example, the rule is added to the ***.m3u8** path configuration to enable compression of manifest files. ``` { "generic-metadata-type": "MI.AllowCompress", "generic-metadata-value": { "allow-compress": true } ```