As part of the portal performance tuning, have enabled the
GZIP compression on IBM HTTP server by adding following lines httpd.conf and
restarted the IHS.
LoadModule deflate_module modules/mod_deflate.so
#Enable GZIP Compression
DeflateFilterNote Input instream
DeflateFilterNote Output outstream
# Insert filter
SetOutputFilter DEFLATE
# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Don't compress images
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png|exe)$ no-gzip dont-vary
Mozilla is showing proper Content-Encoding response headers but Internet explorer always returns response
without compression headers when we monitor through IE Developer tool bar.
After proper analysis realized that IE Developer toolbar is
not showing the proper response header for the compression.To find out actual compression details , Add the following
to httpd.conf and restart the server
DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat '"%r" %{outstream}n/%{instream}n
(%{ratio}n%%)' deflate
CustomLog /tmp/logs/siva_test_compression_log deflate
Following was logged to “siva_test_compression_log when we
access from IE7
GET /wps/portal/
welcome/!ut/p/b1/04_Sj9CPykssy0xPLMnMz0vMAfGjzOINjA1cLZ0MHQ0MXP0cDTwDLEN9PNxCDAxcjIAKIpEV-
4/d5/L2dBISEvZ0FBIS9nQSEh/ HTTP/1.1" 16010/71089 (22%)
"GET
/mccbuilder/css/portal_editmode_widgets.css HTTP/1.1" -/- (-%)
"GET /portal_dojo/v1.4.3/dijit/themes/tundra/tundra.css
HTTP/1.1" -/- (-%)
"GET
/wps/contenthandler/!ut/p/digest!T/dav/fs-type1/common-resources/ibm/css/common.css
HTTP/1.1" -/- (-%)
"GET
/portal_dojo/v1.4.3/com/ibm/widgets/css/widgets_combined.css HTTP/1.1" -/-
(-%)
"GET /wps/contenthandler/!ut/p/digest!
/res/SivaTheme/themes/html/SivaTheme/css/master.css HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/styles/layout.css
HTTP/1.1" 1188/3524 (33%)
"GET /SivaTestTheme/styles/wcm/wcm.css
HTTP/1.1" 1129/3836 (29%)
"GET /SivaTestTheme/styles/ie.css
HTTP/1.1" 160/190 (84%)
"GET /SivaTestTheme/scripts/html5shiv.js
HTTP/1.1" 1083/2050 (52%)
"GET
/portal_dojo/v1.4.3/dojo/dojo.js HTTP/1.1" -/- (-%)
"GET
/portal_dojo/v1.4.3/dojo/nls/dojo_en.js HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/themes/html/SivaTestTheme/js/asa_cmAggr.js
HTTP/1.1" 2665/7534 (35%)
"GET /SivaTestTheme/themes/html/SivaTestTheme/js/custom.js
HTTP/1.1" 1596/4931 (32%)
"GET /SivaTestTheme/images/theme/page-bkg.jpg
HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/scripts/displayDate.js
HTTP/1.1" 233/381 (61%)
"GET /SivaTestTheme/images/theme/bannerLeftLogo.png
HTTP/1.1" -/- (-%)
"GET
/portal_dojo/v1.4.3/dojo/resources/blank.gif HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/images/alert.png
HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/styles/wcm/alert.css
HTTP/1.1" 518/1527 (33%)
"GET /SivaTestTheme/images/theme/top-menu-seperator.jpg
HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/images/theme/bannerRight.png
HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/images/theme/tab-menu-bkg.jpg
HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/images/theme/tab-menu-bkg-highlight.jpg
HTTP/1.1" -/- (-%)
"GET
/portal_dojo/v1.4.3/com/ibm/widgets/css/images/bwArrows.png HTTP/1.1" -/-
(-%)
"GET /SivaTestTheme/images/theme/tab-menu-bottom-bar.jpg
HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/images/theme/content-bkg.jpg
HTTP/1.1" -/- (-%)
"GET
/wps/contenthandler/!ut/p/digest!TXuRWzXY7QQZLuFyFmUoKQ/dav/fs-type1/common-resources/ibm/css/portal/images/ButtonBackground.gif
HTTP/1.1" -/- (-%)
"GET
/wps/wcm/connect/e76fe831-d81b-4d3d-b383-cb028bc7ad03/CustomGlobe.png?MOD=AJPERES&CACHEID=e76fe831-d81b-4d3d-b383-cb028bc7ad03
HTTP/1.1" -/- (-%)
"GET
/wps/wcm/connect/7384f79b-798b-4007-97ad-85c84ff82438/images+%289%29.jpg?MOD=AJPERES&CACHEID=7384f79b-798b-4007-97ad-85c84ff82438
HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/images/leftArrow.png
HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/images/theme/footerLogoTrans.png
HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/images/skin/sprite32.png
HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/images/theme/footerGrad.jpg
HTTP/1.1" -/- (-%)
"GET /wps/menu/menu_service.js
HTTP/1.1" 3507/10925 (32%)
"GET
/wps_semanticTag/javascript/semanticTagService.js HTTP/1.1" 45670/186100
(24%)
"GET /SivaTestTheme/themes/html/SivaTestTheme/js/nls/theme_en.js
HTTP/1.1" 22490/81943 (27%)
"GET /SivaTestTheme/themes/html/SivaTestTheme/js/theme.js
HTTP/1.1" 515299/2498285 (20%)
"GET
/wps/contenthandler/%21ut/p/digest%21FWMinu5Of_321wJCNoFzLA/model/service-document
HTTP/1.1" -/- (-%)
"GET
/portal_dojo/v1.4.3/dojo/resources/iframe_history.html HTTP/1.1" 718/1299
(55%)
"GET /mccenabler/js/com/ibm/mm/iwidget/image/progress-anim.gif
HTTP/1.1" -/- (-%)
"GET
/wps/contenthandler/!ut/p/digest!FWMinu5Of_321wJCNoFzLA/res/SivaTestTheme/themes/html/SivaTestTheme/js/init.js
HTTP/1.1" -/- (-%)
"GET
/wps/contenthandler/!ut/p/digest!FWMinu5Of_321wJCNoFzLA/res/SivaTestTheme/themes/html/SivaTestTheme/images/favicon.ico
HTTP/1.1" -/- (-%)
"GET /SivaTestTheme/skins/html/SivaTestSkin/js/skin.js
HTTP/1.1" 1449/3880 (37%)
"GET /wps/contenthandler/!ut/p/digest!FWMinu5Of_321wJCNoFzLA/mashup/mashup:huffman/n0wypzQB/Z2F
scopeZ3DpublicZ26ampZ3BvaryZ3DnoneZ22/aw7OKMEINga6xr-u8adr_OoaP9o3
HTTP/1.1" -/- (-%)
"GET
/wps_semanticTag/ui/styles.css HTTP/1.1" 1295/5334 (24%)
"GET /portal_dojo/v1.4.3/dijit/themes/tundra/images/spriteArrows.png
HTTP/1.1" -/- (-%)