Enable Gzip from Origin

Fetch gzip-compressed text files from your origin for faster, more efficient content delivery.

The Enable Gzip from Origin option allows Medianova CDN to fetch gzip-compressed files directly from your origin using the Accept-Encoding: gzip header. When enabled, the CDN retrieves already-compressed versions of text-based assets (such as .js, .css, or .txt) instead of fetching and compressing them again.

This reduces origin data transfer and improves delivery performance.

This feature applies only to text-based file types (such as .js, .css, .txt, and HTML). Image formats (JPG, PNG, WebP, AVIF) are excluded because they already go through Image Optimization and WebP.

You can enable this feature via the Medianova Control Panel or API.

Enable Gzip from Origin

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.

Troubleshooting

Issue
Cause
Solution

Origin still returns uncompressed files

The origin server does not return gzip-compressed responses

Verify that gzip compression is enabled and properly configured on your origin server (for example, gzip on; in Nginx or mod_deflate in Apache).

Images not affected

The feature applies only to text-based files

Use Medianova Image Optimization for image compression and format conversion.

Last updated

Was this helpful?