Set up Fast Response Cache Accelerator (AFPA): IBM HTTP Server
System Administration IBM HTTP Server documentation

Set up Fast Response Cache Accelerator (also referred to as Cache Accelerator)

This section describes tuning tips that should improve the performance of your server. Not all tips have been tested, nor will all tips have the same impact in all environments. Use your judgment when deciding which tips to implement on your server. You should make a backup copy of your server configuration file, before making any modifications.

Applies to AIX Applies to windows

Customizing cache management with Cache Accelerator

The Cache Accelerator can improve the performance of the HTTP Server when serving text and image files; dynamic content and protected pages are not cached.

Because the Cache Accelerator cache is automatically loaded during server operation, you are not required to list the files to cache in your server configuration file. The server will automatically recache changed pages and remove outdated pages from the cache.

The Cache Accelerator provides support for caching on multiple Web servers and on servers with multiple IP addresses. Currently, support is not available for running the Cache Accelerator on a proxy server.

Enabling and configuring the Cache Accelerator

By default, the Cache Accelerator is not enabled. To enable the Cache Accelerator, set the AfpaEnable and AfpaCache directives in the Administration Server.

Customizing logging

  1. From the Administration Server set the following directives:
    • AfpaEnabled - Go to Performance > Server Settings and select Yes by Enable Fast Response Caching.
    • AfpaCache - Go to Performance > Set Cache, select Turn on Fast Response Caching within this scope.
    • AfpaLogFile file_path_and_name - Go to Performance > Server Settings and fill in Fast Response Cache Log filename.
  2. Click Submit.
  3. Restart the server.

By default the HTTP Server records that a Web browser has accessed a file in a server disk log. If you do not need this access logging, the server performs better if the logging is off. To set logging off, edit the httpd.conf configuration file and insert a comment character (#) at the beginning of the AccessLog line.

If you are using the Fast Response Cache Accelerator for dynamic caching, turn access logging off, but use the Cache Accelerator access log to log only requests served from the Cache Accelerator cache.

Related information...

     (Back to Top)