Enable Gzip from Origin

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

Enable Gzip From Origin allows the CDN to request text-based files from your origin using the Accept-Encoding: gzip header.

This feature is available for Small, Large, and Dynamic CDN Resources.

If the origin supports gzip, the CDN stores the compressed version in cache; otherwise, it stores the uncompressed response.

This feature does not control CDN → client compression. For client-side compression, see How to Configure Gzip and Brotli.

Enable Gzip From Origin instructs the CDN to request text-based files from your origin using:

Accept-Encoding: gzip

When enabled:

• The CDN requests gzip-compressed content from the origin. • If the origin supports gzip, the CDN stores the compressed version in cache. • If the origin does not support gzip, the CDN stores the uncompressed response.

This improves performance and reduces bandwidth usage between the Origin → CDN path.

How It Works

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

The CDN sends Accept-Encoding: gzip to the origin. If the origin supports gzip, compressed content is returned and stored in the cache. If the origin does not support gzip, the CDN caches the uncompressed response.

Applies only to text-based MIME types (.js, .css, .html, .txt, .xml, .json, …). Does not apply to images. Use Image Optimization instead.

Enable Gzip from Origin

You can enable this feature via the Medianova Control Panel

1

Open CDN Resources in the left-hand menu.

This section lists all CDN Resources available in your account.

2

Select a CDN Resource.

This feature is available for Small, Large, and Dynamic CDN Resources.

3

Go to Advanced Configuration → Origin Settings.

The tab displays all origin-related configuration options.

4

Enable Gzip from Origin and click Submit.

Enable Gzip from Origin

This action saves your configuration and activates gzip fetching for text files.

Medianova CDN starts sending the Accept-Encoding: gzip header to your origin for eligible file types.

FAQ

Does this feature compress content for end-users? No. It only optimizes the origin → CDN transfer. Client-side compression is handled separately by Gzip Delivery and Brotli Delivery.

What if my origin does not support gzip? The CDN will fetch and cache the uncompressed version of the file.

Does this apply to all file types? No. The feature applies only to text-based MIME types. Images are not affected and require Image Optimization.

Last updated

Was this helpful?