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
.
To compress the static content for Siebel Application Interface
-
Stop the application container, as described in Stopping and Starting the Siebel Application Container.
-
Open the file server.xml, located in the directory
applicationcontainer_external/conf
on the Siebel Application Interface installation. -
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" />
-
Add the following properties, as needed: compressableMimeType, useSendfile, compression, compressionMinSize, connectionTimeout, and noCompressionUserAgents.
-
Save the server.xml file.
-
Restart the application container, as described in Stopping and Starting the Siebel Application Container.