Compression
  • 24 Jun 2024
  • 1 Minute to read
  • PDF

Compression

  • PDF

Article summary

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
}

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.