Configure high-speed external caching through the Web server
Configuring high-speed external caching through the Web server
IBM
HTTP Server for Windows NT and Windows 2000 operating systems contains a high-speed cache referred to as the Fast Response Cache Accelerator, or cache accelerator.
The Fast Response Cache Accelerator is available on Windows NT and Windows 2000 operating systems and AIX platforms. However, support to cache dynamic content is only available on Windows NT and Windows 2000
operating systems.
You can enable cache accelerator to cache static and dynamic content. To enable cache accelerator for caching static content,
add the following directives to the http.conf configuration file,
in the IBM HTTP Server conf directory:
To enable cache accelerator for caching dynamic content, such as servlets and JavaServer Pages (JSP) files, configure the WebSphere Application Server and the IBM HTTP Server for distributed platforms:
Configure WebSphere Application Server to enable Fast Response Cache Accelerator. It is important to follow all the steps for every application server in the cluster.
Configure an external cache group on the application server:
Click Servers > Application servers > server_name
> Container services > Dynamic cache service > External cache groups .
Click New on the External cache groupadministrative console page to define an external cache group named afpa for each application server that uses the cache accelerator.
AfpaPluginHost WAS_Hostname:port, where WAS_Hostname is the host name of the application server and port is the port you specified in the Address field while configuring the external cache group member
The LoadModule directive loads the IBM HTTP Server plug-in that connects the Fast Response Cache Accelerator to the WebSphere Application Server fragment cache. If multiple IBM HTTP Servers are routing requests to a single application server, add the directives above to the http.conf file of each of these IBM HTTP Servers for distributed platforms. If one IBM HTTP Server is routing requests to a cluster of application servers, add the AfpaPluginHost WAS_Hostname:port directive to the http.conf file for each application server in the cluster. For example, if there are three application servers in the cluster, add the following directives to the http.conf file: