beautypg.com

Web server tuning – IBM WEBSPHERE 6.1.X User Manual

Page 37

background image

3 2

W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E

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

Header set Cache-Control public;max-age=86400

Header set Cache-Control public;max-age=86400

# 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

Header set cache-control "public"