This document will show you step-by-step how to configure and activate the HTTP Compression of the IIS or Tomcat webserver for your Intrexx Xtreme Portal.
HTTP compression for IIS
Enable direct metabase edit
Open Computer Management (Control Panel, Administrative Tools) and start property dialogue of the
Internet Information Services (IIS) Manager with right click. Activate checkbox
Enable Direct Metabase Edit.
Activate HTTP compression
Open property dialogue of Web sites with right click and select Tab Service. Activate checkbox Compress static files.
Add Web Service Extensions
Left mouse click on Web Service Extensions. Right click into the free space on the right side of the window and select “Add a new Web Service Extension...”
Name this Extension as you desire, we recommend HTTP Compression. Select the required file C:\WINDOWS\system32\inetsrv\gzip.dll and Set extension status to Allowed
Configuration of Metabase
Open directory C:\WINDOWS\system32\inetsrv with Windows Explorer. Search for metabase.xml and create a copy of this file. Then open metabase.xml with a text editor, we recommend Notepad++. Search for section IISCompressionScheme.
Attention! There are two such sections, choose the one with the remark
Location ="/LM/W3SVC/Filters/Compression/gzip.
Search for section HcFileExtensions. The Default value is usually htm, html and txt. For your Intrexx Portal please add file extensions js and css.
All other settings may remain with their default values. In theory the dynamic compression could also be set to „False“, but since the default value for the compression level is set to “0”, dynamic content will not be compressed anyways.
Restart IIS
Finally you have to restart ISS. Simply right click on the Internet Information Service (IIS) Manager -> All Tasks -> Restart IIS...
HTTP Compression for Tomcat
Setting up HTTP Compression for Tomcat is easier than for IIS webserver. First create a copy of the file „server.xml“ within the <xtreme\tomcat\conf> directory. Then open „server.xml“ with a text editor, e.g. Notepad++.
Search for connector tag <Connector acceptCount=[…]> and add the following attributes:
compression="on" compressionMinSize="2048" noCompressionUserAgents="gozilla, traviata" compressableMimeType="text/html,text/xml,text/javascript,text/css"
Finally restart your Tomcat Server via Intrexx Service Console.