About this task
The time that is taken to load data in the web user interface can be reduced by compressing
the data. Compression is turned on by default for new integration nodes. For migrated integration
nodes, compression is turned off by default.
When you enable compression, you must also set the
file types to be compressed.
- Turn on compression by running the mqsichangeproperties
from the IBM® Integration Console on Windows, or
the command line on other operating systems. For example:
mqsichangeproperties integrationNodeName -b webadmin -o HTTPConnector -n compression -v on
Note: If you are using SSL, change the properties for HTTPSConnector rather than
HTTPConnector.
- Set the file types that are to be compressed. For example:
mqsichangeproperties integrationNodeName -b webadmin -o HTTPConnector -n compressableMimeTypes
-v \"text/html,text/css,application/javascript,image/gif,image/png,application/json\"
Note: If you are using SSL, change the properties for HTTPSConnector rather than
HTTPConnector.
- Run the mqsireportproperties command to verify that the
settings are correct. For example:
mqsireportproperties integrationNodeName -b webadmin -o HTTPConnector -n compressableMimeTypes -a
The
response is similar to the following
example:...
compressableMimeTypes='text/html,text/css,application/javascript,image/gif,image/png,application/json'
compression='on'
...
- To ensure that the changes take effect, restart the integration node. For more information, see Starting and stopping an integration node.