How to enable gzip compression on IBM HTTP Server

  • 06 Feb, 2017

One of the tuning activities is to turn on GZIP compression for HTTP requests.

This tuning can save lots of network traffic and your page will load in a short time.

Just put the lines bellow on the httpd.conf and restart the server

LoadModule deflate_module modules/mod_deflate.so

LoadModule headers_module modules/mod_headers.so

#Only the specified MIME types will be compressed.

AddOutputFilterByType DEFLATE application/atom+xml AddOutputFilterByType DEFLATE application/atomcat+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/json AddOutputFilterByType DEFLATE application/octet-stream AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/xsl # Ensures that images and executable binaries are not compressed SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|exe)$ no-gzip dont-vary # Ensure that proxies do not deliver the wrong content Header append Vary User-Agent env=!dont-vary SetEnvIf Request_URI ^/acce(.*) no-gzip dont-vary

Related Posts

Turn off IE compatibility mode

  • 10 Oct, 2017

On a customer site, all windows machines has a GPO to turn on the IE compatibility mode. The new WebSphere Portal does not work well with this compatibility mode. To solve the problem we add the fol

Turn off IE compatibility modeRead More

WebSphere Portal V8.5 and Oracle Data Guard

  • 29 Jun, 2017

From IBM L3 support: "WebSphere Portal does not explicitly claim support for Oracle Data Guard. It is our understanding that Oracle Data Guard is an extension of the Oracle Database product. We do su

WebSphere Portal V8.5 and Oracle Data GuardRead More

Collecting Data: Read First for WebSphere Portal 8.5 and 9.0

  • 28 Jun, 2017

Documents for collecting troubleshooting data for IBM WebSphere Portal 8.5 and 9.0 aid in problem determination and save time resolving Problem Management Records (PMRs). The following data collectio

Collecting Data: Read First for WebSphere Portal 8.5 and 9.0Read More