32
WEBSPHERE PORTAL V6.1 TUNING GUIDE
Web Server Tuning
Http server tuning for cacheability:
# uncommented these to enable statics to be cached
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
# from http://www.contentwithstyle.co.uk/blog/147 avoid gzip bug in IE 6
BrowserMatch ^Mozilla/4\.[0678] no-gzip
BrowserMatch \bMSIE\s7 !no-gzip !gzip-only-text/html
# added this for caching of dojo javascript and the theme’s xsl files, max-age = 1 day
<Location /wps/themes/dojo>
Header set Cache-Control public;max-age=86400
</Location>
<Location /wps/themes/html/PortalWeb2/xsl>
Header set Cache-Control public;max-age=86400
</Location>
# info for these directives at http://httpd.apache.org/docs/2.0/mod/mod_expires.html
# http://httpd.apache.org/docs/2.0/mod/mod_headers.html
# set cache-control public for various static content
<FilesMatch "\.(gif|jpeg|jpg|png|ico|css|js|swf)$">
Header set cache-control "public"
</FilesMatch>