Compression

Prev Next

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:

  1. Navigate to the Select Rule dialog.

  2. In the Select Rule dialog, choose Compression.

  3. Toggle on Enable Compression.
    compressionRule80.png

  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
}