!--a11y-->
icm/HTTP/server_cache_<xx> 
You use this
parameter to configure the
ICM Server Cache.
You specify the URI prefix and the target directory.
icm/HTTP/server_cache_<xx> =
PREFIX=<uri-prefix>, CACHEDIR=<dir>
· <xx> stands for the number of the entry you want to specify. Several assignments between the URL prefix and the cache directory, numbered in ascending order from 0, can be specified.

If you are working with several caches, you must use different directories.
·
All HTTP URIs that
begin with the <uri-prefix> character string are channeled
through the
ICM Server Cache.
This is to check whether a suitable HTTP response to the request already
exists in the ICM cache. If this is the case, the response can be sent
directly (in other words, without passing through the SAP application server)
from the cache to the HTTP client (browser).
· <dir> is the full file system path of the directory (in the local file system of the relevant application server) in which the data stored in the cache can be saved. You can a relative or an absolute path name.

icm/HTTP/server_cache_0= PREFIX=/foo/bar, CACHEDIR=/usr/cachedir
This channels via the cache in the directory ‘/usr/cachedir’ all HTTP requests whose URI path begins with ‘/foo/bar’.
icm/HTTP/server_cache_0 = PREFIX=/, CACHEDIR=$(DIR_DATA)/cache
The presetting dictates that all HTTP requests (prefix “/”) are channeled via the cache located in the standard ‘DATA’ directory on the application server.