CacheConfig.properties

CacheConfig.properties contains the following properties:

cacheHeaderEnabled

This parameter controls external caching by determining whether or not an HTTP cache header is added to non-empty change log responses. Set to true (the default) to enable caching or false to disable it. You can usually set this to false for the editorial change log, since the number or requests from editorial clients is not likely to be very high and external caching is therefore not required.

maxAge

If cacheHeaderEnabled is set to true, then this property determines the HTTP cache header's max-age parameter (which sets the external cache's lifetime) for non-empty responses. It is specified in seconds. The default setting is 2. Increase this value to reduce load on the server and database, decrease it to reduce latency.

emptyResponseMaxAge

If cacheHeaderEnabled is set to true, then this property determines the HTTP cache header's max-age parameter (which sets the external cache's lifetime) for empty responses. It is specified in seconds. The default setting is 0 – in other words, caching is disabled by default for empty responses. Increase this value to reduce load on the server and database, decrease it to reduce latency.

accessModifier

If accessModifier is set to private, then this property indicates that all or part of the response message is intended for a single user and that it therefore must not be cached by a shared cache such as a proxy server. By default, this property is set to public.

cachingEnabled

This parameter controls internal caching. Set to true (the default) to enable caching, or false to disable it.

cacheLife

If cachingEnabled is set to true, then this property determines the internal cache's lifetime, specified in milliseconds. The default setting is 250. Increase this value to reduce load on the server and database. Increase this value to reduce load on the server and database, decrease it to reduce latency.