For the complete documentation index, see llms.txt. This page is also available as Markdown.

Enable Gzip from Origin

Fetch gzip-compressed text-based content from your origin to improve delivery efficiency.

Request gzip-compressed content from the origin to reduce data transfer between the origin server and the CDN.

Enable Gzip from Origin configures the CDN to request eligible content from the origin using the following request header:

Accept-Encoding: gzip

If the origin supports gzip compression, it can return a gzip-compressed response for the CDN to cache. If the origin does not return gzip-compressed content, the CDN uses the uncompressed origin response.

Enable Gzip from Origin applies to the origin → CDN connection. It does not configure compression for responses delivered from the CDN to clients.

For client-side compression, see How to Configure Gzip and Brotli.

How It Works

CDN requests gzip-compressed content from the origin when this feature is enabled.

When Enable Gzip from Origin is enabled:

  1. The CDN includes Accept-Encoding: gzip when requesting eligible content from the origin.

  2. The origin determines whether to return a gzip-compressed response.

  3. If gzip compression is provided by the origin, the CDN stores the compressed response in cache.

  4. If the origin does not provide gzip compression, the CDN stores the uncompressed response.

This configuration affects content retrieval from the origin and is independent of the compression configuration used for client delivery.

This feature applies to supported text-based content. It does not apply to image compression or image format conversion.

Enable Gzip from Origin

You can configure this feature for a CDN Resource in the Medianova Control Panel.

1

Open Origin Settings

Open your CDN Resource and select Origin Settings.

2

Enable Gzip from Origin

Enable Gzip from Origin.

3

Save the Configuration

Select Save in the pending changes bar.

Review the pending changes and confirm the update to apply the configuration to the CDN Resource.

After the configuration is applied, the CDN requests eligible origin content with gzip support enabled.

Important Notes

  • The origin must support gzip compression to return gzip-compressed content.

  • If the origin does not provide a gzip-compressed response, the CDN can use the uncompressed response.

  • This setting controls compression negotiation between the CDN and the origin.

  • Compression between the CDN and clients is configured separately.

Last updated

Was this helpful?