Cache parameters
Guidewire provides the following configuration parameters in the config.xml file that relate to the application cache.
For information on editing config.xml and setting configuration parameters, see Working with configuration parameters.
See also
ExchangeRatesCacheRefreshIntervalSecs
The time between refreshes of the ExchangeRateSet cache, in seconds. This integer value must be 0 or greater. See Server caching for more information.
Default: 600
GlobalCacheActiveTimeMinutes
Time period (in minutes) in which PolicyCenter considers cached items as active, meaning that Guidewire recommends that the cache give higher priority to preserve these items. You can think of this as the period during which PolicyCenter is using one or more items very heavily. For example, this can be the length of time that a user stays on a page. The maximum value for this parameter is the smaller of 15 and the value of GlobalCacheStaleTimeMinutes.
See Server caching for more information.
Default: 5
Minimum: 1
Maximum: 15
Set for server: Yes
GlobalCacheDetailedStats
Configuration parameter GlobalCacheDetailedStats determines whether to collect detailed statistics for the global cache. Detailed statistics are data that PolicyCenter collects to explain why items are evicted from the cache. PolicyCenter collects basic statistics, such as the miss ratio, regardless of the value of this parameter.
In the base configuration, Guidewire sets the value of the GlobalCacheDetailedStats parameter to false. Set the parameter to true to help tune your cache.
At runtime, use the PolicyCenter Management Beans page to enable the collection of detailed statistics for the global cache. If you disable the GlobalCacheDetailedStats parameter, PolicyCenter does not display the Evict Information and Type of Cache Misses graphs.
Default: false
Dynamic: Yes
Required: Yes
GlobalCacheReapingTimeMinutes
Time (in minutes) since the last use before PolicyCenter considers cached items to be eligible for reaping. You can think of this as the period during which PolicyCenter is most likely to reuse and entity. See Server caching for more information.
Default: 15
Minimum: 1
Maximum: 15
Set for server: Yes
GlobalCacheSizeMegabytes
The amount of space to allocate to the global cache. If you specify this value, it takes precedence over GlobalCacheSizePercent. See Server caching for more information.
Nullable: Yes
Set for server: Yes
GlobalCacheSizePercent
The percentage of the heap to allocate to the global cache. See Server caching for more information.
Default: 15
Set for server: Yes
GlobalCacheStaleTimeMinutes
Time (in minutes) since the last write before PolicyCenter considers cached items to be stale and thus eligible for reaping. See Server caching for more information.
Default: 60
Minimum: 1
Maximum: 120
Set for server: Yes
Dynamic: Yes
GlobalCacheStatsRetentionPeriodDays
Time period (in days), in addition to today, for how long PolicyCenter preserves statistics for historical comparison. See Server caching for more information.
Default: 7
Minimum: 2
Maximum: 365
Set for server: Yes
GlobalCacheStatsWindowMinutes
Time period (in minutes). PolicyCenter uses this parameter for the following purposes:
- To define the period of time to preserve the reason for which PolicyCenter evicts an item from the cache, after the event occurred. If a cache miss occurs, PolicyCenter looks up the reason and reports the reason in the Cache Info page.
- To define the period of time to display statistics on the chart on the Cache Info page.
See Server caching for more information.
Default: 30
Minimum: 2
Maximum: 120
Set for server: Yes
GroupCacheRefreshIntervalSecs
The time in seconds between refreshes of the group cache. This integer value must be 0 or greater. See Server caching for more information.
Default: 600
ScriptParametersRefreshIntervalSecs
The time between refreshes of the script parameter cache, in seconds. This integer value must be 0 or greater. See Server caching for more information.
Default: 600
TreeViewRefresh
Obsolete and unused.
ZoneCacheRefreshIntervalSecs
The time between refreshes of the zone cache, in seconds. See Server caching for more information.
Default: 86400
