policy-cache-size

Syntax

policy-cache-size = cache_size

Description

The maximum size of the in-memory policy cache is configurable. The cache consists of policy and the relationships between policy and resources. The knowledge that a resource has no directly associated policy is also cached.

Options

cache_size

The maximum cache size should be relative to the number of policy objects defined and the number of resources protected and the available memory.

A reasonable algorithm to begin with is: (number of policy objects * 3) + (number of protected resources * 3)

This value controls how much information is cached. A larger cache will potentially improve the application performance but use additional memory as well.

Size is specified as the number of entries.

Usage

This stanza entry is optional.

Default value

None.

Example

policy-cache-size = 32768