Compressing Static Content for Siebel Application Interface

This task is part of Customizing the Application Container for Siebel Application Interface.

This topic describes the steps you can take to specify HTML compression for the static content that resides on a deployed instance of Siebel Application Interface.

Enabling the setting HTTP 1.1-Compliant Firewall / Enable Web Compression for a Siebel Application Interface profile, which is described in Configuration Settings for a Siebel Application Interface Profile, compresses only dynamic content. If you plan to compress static Web content used with Siebel CRM applications, then you can configure the connector configuration as follows.

In the Siebel Application Interface installation, the static content are the Web artifacts for application configurations, which are located in applicationcontainer_external\siebelwebroot. The siebelwebroot directory contains subdirectories such as files, fonts, htmltemplates, images, migration, scripts, and smc.

Caution: Setting properties to configure static compression affects all of the applications that are served on that server. You must make similar settings on the application container for all deployed instances of Siebel Application Interface. Before you enable static file compression, confirm your site requirements. Also carefully review the Apache Tomcat vendor portal for more information about configuring static file compression, and for any applicable issues or fixes.

To compress the static content for Siebel Application Interface

  1. Stop the application container, as described in Stopping and Starting the Siebel Application Container.

  2. Open the file server.xml, located in the directory applicationcontainer_external/conf on the Siebel Application Interface installation.

  3. Find the connector port that is used to serve requests and add the following attributes. The following sample shows the connector port for HTTPS.

    <Connector port=httpsport protocol="org.apache.coyote.http11.Http11NioProtocol"
     ...
     compressableMimeType="text/css,text/javascript,application/x-javascript,application/javascript" 
     useSendfile="off"
     compression="on"
     compressionMinSize="128"
     connectionTimeout="20000"
     noCompressionUserAgents="gozilla, traviata" />
  4. Add the following properties, as needed: compressableMimeType, useSendfile, compression, compressionMinSize, connectionTimeout, and noCompressionUserAgents.

  5. Save the server.xml file.

  6. Restart the application container, as described in Stopping and Starting the Siebel Application Container.