Enable IIS web server dynamic compression - HxGN SDx - Update 50 - Installation & Upgrade - Hexagon

3D Project As-Built Installation and Setup for HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Installation & Upgrade
SmartPlant Foundation / SDx Version
10

The Windows Internet Information Services (IIS) Manager performs dynamic compression each time a client requests the content, but the compressed version is not cached to disk. Dynamic content is typically created by an application and changes often, such as Active Server Pages (ASP) or ASP.NET content. Because of frequent changes, the IIS does not cache the content.

Enable dynamic compression for a site or application

  1. In Control Panel, click Programs and Features, and then click Turn Windows features on or off.

  2. Expand Internet Information Services > World Wide Web Services >Performance Features, and then select Dynamic Content Compression and/or Static Content Compression. Click OK.

  3. Open Internet Information Services (IIS) Manager.

  4. In the Connections pane, go to the connection, site, application, or directory to enable compression.

  5. In the Home pane, double-click Compression.

  6. In the Compression pane, check Enable dynamic content compression.

  7. Click Apply in the Actions pane.

  8. Open the IIS Configuration Editor and perform the following in the specified section:

    Section system.webServer/httpCompression:

    • Increase the maxDiskSpaceUsage as the default value of 100 MB is too small. We recommend 10 GB or more, if possible. If you continue to use the default (100 MB), the server must constantly recompress files.

    • Edit dynamicTypes, and then add application/octet-stream and application/wasm.

    • Change sendCacheHeaders from False to True.

    • Set the same configuration directly in the root web.config:

      When Dynamic compression is enabled, you can see Content-Encoding: gzip in the Response Headers whenever your application requests data on the dynamic compression-enabled server.

The transferred data is also reduced for dynamic compression.