Skip to content

HTTP Compression

Installation can be taxing on both JustWare servers and clients, using valuable network bandwidth and processing power. By completing a few easy steps, you can not only boost installation performance and reclaim these resources, but also streamline the installation process. One way to increase installation performance is static HTTP compression. When properly configured on your JustWare Web Server, HTTP compression takes all Smart Client deployment files and compresses each individually in order to save bandwidth on your network. Whenever the client requests a file, it retrieves a compressed version and decompresses it when received. This lowers the amount of bandwidth required to install JustWare. With HTTP compression, you can effectively increase performance for your many users installing JustWare and decrease the load on your server. SOAP Compression for information on enabling dynamic SOAP compression to enhance overall performance after installation.

Note: HTTP compression is an optional performance enhancement, and all JustWare components function without it. However, it is highly recommended that you take advantage of the installation performance increases that HTTP compression provides.

Configuring HTTP Compression for IIS 6

  1. Click Start | Control Panel | Administrative Tools | Internet Information Services (IIS) Manager.
  2. Select the machine node in the Connections tree.
  3. In the IIS group, double-click Compression. The Compression options appear.
  4. Check the box labeled Enable dynamic content compression. In the Actions pane, click Apply to save the changes.
  5. In the Management group, double-click the Configuration Editor icon. The Configuration Editor page appears
  6. In the section drop-down box, select system.webServer/httpCompression.
  7. Click on the ... button to the right of the property named "Collection" The Collection Editor dialog will appear.
  8. Select the row with the name value gzip.
  9. In the properties window below set the dynamicCompressionLevel property to the desired value. The value 4 is a good compromise between speed and size.
  10. Close the Collection Editor window
  11. In the Actions pane, click Apply to save the changes.
  12. Expand the Sites menu and click on Default Web Site. The Default Web Site page appears to the right in Features View.
  13. In the IIS group, double-click Compression. The Compression options appear.
  14. Select the Enable dynamic content compression check box.
  15. In the Actions pane, click Apply to save the changes.
  16. Expand the Default Web Site, locate and select the virtual directory where the JustWare web service was installed then repeat steps 12-14.

Command Line

  1. %SystemRoot%\%System32\inetsrv\appcmd.exe set config /section:urlCompression /doDynamicCompression:true
  2. %SystemRoot%\System32\inetsrv\appcmd.exe set config "Default Web Site" /section:urlCompression /doDynamicCompression:true
  3. %SystemRoot%\System32\inetsrv\appcmd.exe set config "Default Web Site/JustWareWebService" /section:urlCompression /doDynamicCompression:true
  4. %SystemRoot%\System32\inetsrv\appcmd.exe set config /section:system.webServer/httpCompression /[name='gzip'].dynamicCompressionLevel:4