The Continua CI web application makes use of gzip compression if it is installed and configured in IIS. 

This guide will step you through the configuration of IIS 7 and IIS 7.5 to enable gzip compression.

Step by Step

  1. Start up Internet Information Services (IIS) Manager, click on the Server node and go to the Compression module.

    If the "Enable dynamic content compression" checkbox is disabled and you see this yellow alert on the right-hand side, then this indicates that it is not installed  

  2. If it's not installed, open the Server Manager. Navigate to Roles, Web Server (IIS).

    Click on Add Role Services and locate the Dynamic Content Compression role under Web Server, Performance and tick the checkbox. Click Next to continue to the Confirmation page and click Install.

  3. Once the role is installed go back to the Compression module page in IIS Manager and ensure that both dynamic compression and static compression are enabled. Note that you need to do this at the Server level not the Website level.

  4. Compression is now set up, but we still need to add the mimeTypes that we want to compress. Go to the Configuration Editor

  5. Select system.webServer/httpCompression from the Section dropdown list 

    and click on the edit button next to dynamicTypes:

  6. Continua CI web pages updates are sent as JSON so we need to add entries for the mimeTypes  "application/json;charset=utf-8" and "application/json" with Enabled set to True.

    Then close the Collection Editor, click Apply and Restart your IIS Service to load the new module.

  7. To confirm that compression is now on, open Continua in your web browser and check the response headers under the Network tab in the developer tools


  • No labels