IBM 6.1.X manual # uncommented these to enable statics to be cached, Web Server Tuning

Models: 6.1.X

1 97
Download 97 pages 55.38 Kb
Page 37
Image 37
#uncommented these to enable statics to be cached

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 "\.(gifjpegjpgpngicocssjsswf)$">

Header set cache-control "public"

</FilesMatch>

3 2

W E BS P HE R E P O R T AL V 6 . 1 T U N I N G G U I D E

Page 37
Image 37
IBM 6.1.X manual # uncommented these to enable statics to be cached, # set cache-control public for various static content