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 following on the Apache Web Server Header set X-UA-Compatible "IE=Edge" The header above tell the IE browser to not use compatibillity mode when accessing the new portal.

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 support the Oracle Database as isted in our "Supported software" documentation. Unless Oracle Data Guard limits functionality or impacts the behavior of the Oracle Database product in an intransparent manner or requires changes to the Portal database object definitions, we do not see a reason why WebSphere Portal would not work in that setup. In other words: If the database system, that is used by the customer, behaves like a regular Oracle Database, it should work. In case an issue is observed, w

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 collection documents contain instructions for specific components or scenarios. The wpcollector tool(http://www-01.ibm.com/support/docview.wss?uid=swg21445430) can be leveraged with such instructions to gather and optionally send the data. If one of the product components or scenarios below matches your symptom or the part of the product with which you are experiencing problems, follow the instructions in the associated data collection document. Component:Link:Installation/Configuration:General1962321(h

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