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¶
- Click Start | Control Panel | Administrative Tools | Internet Information Services (IIS) Manager.
- Select the machine node in the Connections tree.
- In the IIS group, double-click Compression. The Compression options appear.
- Check the box labeled Enable dynamic content compression. In the Actions pane, click Apply to save the changes.
- In the Management group, double-click the Configuration Editor icon. The Configuration Editor page appears
- In the section drop-down box, select system.webServer/httpCompression.
- Click on the ... button to the right of the property named "Collection" The Collection Editor dialog will appear.
- Select the row with the name value gzip.
- In the properties window below set the dynamicCompressionLevel property to the desired value. The value 4 is a good compromise between speed and size.
- Close the Collection Editor window
- In the Actions pane, click Apply to save the changes.
- Expand the Sites menu and click on Default Web Site. The Default Web Site page appears to the right in Features View.
- In the IIS group, double-click Compression. The Compression options appear.
- Select the Enable dynamic content compression check box.
- In the Actions pane, click Apply to save the changes.
- 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¶
%SystemRoot%\%System32\inetsrv\appcmd.exe set config /section:urlCompression /doDynamicCompression:true
%SystemRoot%\System32\inetsrv\appcmd.exe set config "Default Web Site" /section:urlCompression /doDynamicCompression:true
%SystemRoot%\System32\inetsrv\appcmd.exe set config "Default Web Site/JustWareWebService" /section:urlCompression /doDynamicCompression:true
%SystemRoot%\System32\inetsrv\appcmd.exe set config /section:system.webServer/httpCompression /[name='gzip'].dynamicCompressionLevel:4