# GZIP Compression

> In order to reduce the size of HTTP responses at server level and improve Orchestrator's response time, you have the option to compress them using GZIP compression.

In order to reduce the size of HTTP responses at server level and improve Orchestrator's response time, you have the option to compress them using GZIP compression.

## Prerequisites

Add the `<add mimeType="application/json" enabled="true" />` key in the config file, in the `httpCompression` section.

```
<httpCompression>
      <dynamicTypes>
        <remove mimeType="text/csv" />
        <add mimeType="text/csv" enabled="true" />
        <add mimeType="application/json" enabled="true" />
      </dynamicTypes>
    </httpCompression>
```

## Installing Dynamic Compression

1. In Server Manager console, on the **Manage** menu, click **Add Roles and Features**. The **Add Roles and Features Wizard** is displayed.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/orchestrator/orchestrator-docs-image-233277-ead2196d.webp)
2. On the **Before you begin** page, click **Next**.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/orchestrator/orchestrator-docs-image-233179-04c20de0.webp)
3. On the **Select installation type** page, select **Role-based or feature-based installation** or **Remote Desktop Services installation**, and click **Next**. More details on the official [Microsoft documentation](https://docs.microsoft.com/en-us/windows-server/administration/server-manager/install-or-uninstall-roles-role-services-or-features). Click **Next**.
4. On the **Select destination server** page, select a server from the server pool, or select an offline VHD, and click **Next**. More details on the official [Microsoft documentation](https://docs.microsoft.com/en-us/windows-server/administration/server-manager/install-or-uninstall-roles-role-services-or-features). Click **Next**.
5. On the **Select Server Roles** page, in the **Roles** section, select **Web Server (IIS)** &gt; **Web Server** &gt; **Performance** &gt; **Dynamic Content Compression**, and click **Next**.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/orchestrator/orchestrator-docs-image-233147-cd0a1cba.webp)
6. On the **Select features** page, click **Next**.
7. On the **Confirm installation selections** page, review your role and server selections, then click **Install**. The Dynamic Content Compression feature has been installed.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/orchestrator/orchestrator-docs-image-225834-e62a005e.webp)

## Enabling Dynamic Compression

1. In Server Manager console, on the **Tools** menu, click **Internet Information Services (IIS) Manager**. The IIS Manager is displayed.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/orchestrator/orchestrator-docs-image-229630-1f3af5a9.webp)
2. On the **Connections** pane, select your Orchestrator instance.
3. In the **IIS** section, double-click **Compression**.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/orchestrator/orchestrator-docs-image-231128-1e47fbaf.webp)
4. Select the **Enable Dynamic Content Compression** option.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/orchestrator/orchestrator-docs-image-226551-10c0a098.webp)

   :::note
   The use of dynamic compression may increase processor utilization and reduce the overall performance of the server.
   :::
