Tuesday, August 11, 2009

Set correct HTTP response-cache headers to improve response times

You experience slow responses when accessing Lotus® Quickr™ services for WebSphere® Portal on a remote network or over a slow network connection (for example, DSL, Cable Modem).

Resolving the problem
Setting the proper response-cache headers in the HTTP server configuration allows caching of the static Lotus Quickr resources on the HTTP server and improves response times. To do so, use the following steps:
1. Stop the Web server, such as the Apache server
2. Edit the httpd.conf file
3. Append the following to this file:

LoadModule headers_module modules/mod_headers.so

Header add Cache-Control "public, max-age=432000, post-check=172000"

4. Save the file
5. Restart the Apache server