Siebel Server Installation Guide for Microsoft Windows > Installing the Siebel Web Server Extension > Post-Installation Tasks for Siebel Web Server Extension >

Enabling HTTP Compression for Siebel Web Applications


The use of HTTP compression between the browser and the Web server can improve the performance of Siebel eBusiness Applications over a wide-area network (WAN). Typically, you should consider enabling HTTP compression if a significant number of users access applications over a WAN for which network bandwidth may be a constraint.

The benefit of compression is even greater for users who access applications using standard interactivity, rather than high interactivity, because the latter is already optimized for network use.

However, if your users access applications mostly over a local-area network (LAN), turning on HTTP compression does not improve performance. Instead, it might create performance overhead related to the extra processing needed on both the client and the server sides to compress and decompress data.

HTTP compression is available for all supported Web server platforms without any additional installation. HTTP compression functionality is built into the Siebel Web Server Extension plug-in.

Before using HTTP compression, you must make it active by setting the DoCompression parameter in the eapps.cfg file.

CAUTION:  If you installed the Siebel HTTP Compression Filter for a pre-7.0.4 release of Siebel 7 eBusiness Applications, then you must uninstall that filter before you enable HTTP compression in this release of Siebel eBusiness Applications. For information, see Uninstalling the Siebel HTTP Compression Filter.

Enabling HTTP Compression

You can enable or disable HTTP compression as default functionality for all applications or selectively for individual applications. By default, HTTP compression is enabled for all applications.

To enable HTTP compression

  1. Open the eapps.cfg file, located in the SIEBEL_ROOT\SWEApp\BIN directory, in a text editor.
  2. Do one or both of the following:
  3. Save and close the eapps.cfg file. Changes to the eapps.cfg file are not active until you restart the Web server.

To disable HTTP compression as a default or for an individual application, set DoCompression to FALSE in the appropriate section of the eapps.cfg file.

Compressing Static Content

The Siebel compression filter only compresses dynamic content. For more information about static compression on IIS and instructions on how to enable it, see your IIS 5.0 vendor documentation.

If you plan to compress static Web content in IIS 5.0 on any Web server used for Siebel eBusiness Applications, make sure that you set the IIS 5.0 properties as listed below:

HcSendCacheHeaders
FALSE
hcNoCompressionForProxies
TRUE
HcNoCompresionForHttp
TRUE

For instructions on how to set properties on IIS, see your vendor documentation.

The example below illustrates a script that you can run on your IIS Web servers to enable static compression after editing it to fit your site requirements.

rem --------------------------------------------------------------

rem run this on webserver site

rem make sure the directories c:\inetpub\AdminScripts\ are correct.

rem --------------------------------------------------------------

c:

cd \

cd inetpub

cd AdminScripts

cscript.exe adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcFileExtensions "htm" "html" "txt" "css" "js"

cscript.exe adsutil.vbs set W3Svc/Filters/Compression/DEFLATE/HcFileExtensions "htm" "html" "txt" "css" "js"

cscript.exe adsutil.vbs set W3Svc/Filters/Compression/Parameters/HcSendCacheHeaders "FALSE"

cscript.exe adsutil.vbs set W3Svc/Filters/Compression/Parameters/HcNoCompressionForProxies "TRUE"

cscript.exe adsutil.vbs set W3Svc/Filters/Compression/Parameters/HcNoCompressionForHttp10 "TRUE"

rem --------------------------------------------------------------

rem Verify the settings

rem --------------------------------------------------------------

cscript.exe adsutil.vbs get W3Svc/Filters/Compression/GZIP/HcFileExtensions

cscript.exe adsutil.vbs get W3Svc/Filters/Compression/DEFLATE/HcFileExtensions

CAUTION:  Setting these properties for static compression will affect all applications served on that Web server. Therefore, carefully review your vendor documentation and your site requirements before making a decision to enable this type of compression.


 Siebel Server Installation Guide for Microsoft Windows 
 Published: 25 June 2003