- 24 Jun 2024
- 1 Minute to read
- Print
- PDF
Compression
- Updated on 24 Jun 2024
- 1 Minute to read
- Print
- PDF
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.
To configure a Compression rule:
In the Select Rule dialog, choose Compression.
Toggle on Enable Compression.
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
}