Gzip Compression

Compress eligible responses using Gzip to reduce bandwidth usage and improve content delivery performance.

Gzip Compression reduces the size of eligible HTTP responses before they are delivered to clients. This decreases bandwidth usage and improves page load performance for content that can be efficiently compressed.

You can configure Gzip Compression in the Medianova Control Panel.

Navigate to the relevant CDN Resource and open the Image Optimization section.

Configure Gzip Compression

Use the following steps to enable compression and define eligible content types.

1

Enable Gzip Compression

Toggle Status to On.

2

Add Content Types

Enter one or more MIME types that should be compressed.

Examples:

  • text/html

  • text/css

  • application/javascript

  • application/json

  • image/svg+xml

Select + to add additional content types.

3

Save the Configuration

Click Submit to apply the configuration.

Behaviour

  • Compression is applied only when the client supports Gzip encoding.

  • Only configured content types are eligible for compression.

  • Compressed responses are delivered using the Content-Encoding: gzip header.

  • Unsupported content types are delivered without modification.

  • Compression affects client delivery and does not modify the original content stored at the origin.

Commonly compressed content types include:

  • text/html

  • text/css

  • text/plain

  • application/javascript

  • application/json

  • application/xml

  • image/svg+xml

Limitations

  • Binary formats typically do not benefit from Gzip compression.

  • Formats such as JPEG, PNG, GIF, MP4, ZIP and PDF are generally already compressed.

  • Compression efficiency depends on content type and response size.

FAQ

Does Gzip Compression modify files stored on the origin? No. Compression is applied dynamically during content delivery.

Does Gzip Compression work for all file types? No. Only configured content types are eligible for compression.

Should images be compressed with Gzip? Most image formats are already compressed and generally do not benefit from Gzip compression. SVG files are a common exception.

What happens if the browser does not support Gzip? The CDN delivers the uncompressed version of the response.

Last updated

Was this helpful?