# How to Configure Gzip and Brotli

{% hint style="info" %}
We recommend to always turn on Gzip and Brotli compression for small object delivery and dynamic content acceleration. All modern browsers support these content encodings and clients not supporting compression will receive the uncompressed version. Learn more about [compression at Medianova](https://clients.medianova.com/products/performance-cdn/static-content-delivery/advanced-configuration/compression).
{% endhint %}

In the [Medianova Panel](https://cloud.medianova.com/), select the appropriate CDN resource, navigate to the **Optimization** tab and select **Text Optimization**.

The page shows two content blocks, one for Brotli Compression and one for Gzip Compression:

<figure><img src="https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2FQUvGp0h25H8rRgbqeISK%2Fimage.png?alt=media&#x26;token=4757be68-bf56-4d67-9de6-57eafb5e8a61" alt="" width="563"><figcaption></figcaption></figure>

The following steps apply to both Brotli Compression and Gzip Compression.

{% stepper %}
{% step %}
**Toggle the Status to ON**

Click the Status toggle to turn on compression.

{% hint style="info" %}
Changing the toggle does not *immediately* change the CDN's behavior. You need to click **Submit** to push the updated config to the CDN
{% endhint %}
{% endstep %}

{% step %}
**Update the content types (optional)**

The page now shows a list of content types (or: [MIME types](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/MIME_types)) that are served compressed by default. You can add content types by typing the content-type in the **Add Content Type** field and clicking the **+** button.

Remove a content type by clicking the small **x** icon to the right of the content-type.
{% endstep %}

{% step %}
**Submit the changes**

Click the **Submit** button to push the updated config to the CDN.
{% endstep %}
{% endstepper %}
