Enabling up HTTP Compression for Maximo

To enable HTTP compression for Maximo, follow the steps below:

  • Stop HTTP server
  • Make a backup copy of \IBM\HTTPServer\conf\httpd.conf
  • Edit httpd.conf:
    • Enable the following two lines:
            LoadModule deflate_module modules/mod_deflate.so
            LoadModule filter_module modules/mod_filter.so

    • Add the following lines to the bottom of the file:
            AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript

            BrowserMatch ^Mozilla/4 gzip-only-text/html
            BrowserMatch ^Mozilla/4\.0[678] no-gzip
            BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
            #Highest 9 - Lowest 1
            DeflateCompressionLevel 4
  • Start HTTP server


No comments:

Post a Comment