How to Configure Gzip and Brotli
Step-by-step instructions for how to enable and configure Gzip compression and Brotli compression.
Medianova CDN supports Brotli Compression and Gzip Compression for reducing the size of eligible responses. Each compression method can be enabled independently, and the list of compressed content types can be customized.
Configure Compression
Gzip and Brotli are configured per CDN Resource in the Medianova Control Panel.
The following steps apply to both Brotli Compression and Gzip Compression.
Configure Content Types
Review the content types configured for the selected compression method.
To add another content type:
Enter the MIME type in the Content Type field.
Select + to add it.
To remove a configured content type, select the × icon next to it.
Select Show more to display additional configured content types.
Default Content Types
Brotli Compression and Gzip Compression include predefined content types.
You can modify these lists according to the content delivered by your CDN Resource.
To restore the predefined list for a compression method, select Reset to default.
Brotli and Gzip Selection
The compression format delivered to a client depends on the compression methods enabled for the CDN Resource and the encodings supported by the client.
Clients communicate supported compression formats through the Accept-Encoding request header.
If a supported compression format cannot be used, the response can be delivered without compression.
Important Notes
Brotli Compression and Gzip Compression are configured independently.
Each compression method maintains its own list of content types.
Configuration changes are not applied until the pending changes are saved.
Removing a content type prevents that type from being eligible for the corresponding compression method after the updated configuration is applied.
Use Reset to default to restore the predefined content type configuration.
Related Concepts
Last updated
Was this helpful?