Windows Server 2012: Enabling HTTP compression

NOTE
This process applies only to Windows Server 2012 operating systems. Compression is automatic in Windows Server 2016 and 2019.

On machines that host the backend component in Windows Server 2012, HTTP compression must be manually enabled for traffic sent from the backend component to agent handlers and administration consoles.

To enable compression:

  • Add the line <add mimeType="application/json" enabled="true" /> to the section <dynamicTypes> in the file %windir%\System32\inetsrv\config\ApplicationHost.config.