Use this page to configure and manage the dynamic cache service settings.
To view this administrative console page, click Servers > Application servers > server_name > Container services > Dynamic cache service.
Configuration tab
Specifies whether the dynamic cache is enabled when the server starts.
Specifies a positive integer as the value for the maximum number of entries the cache holds.
Enter the cache size value in this field between the range of 100 through 200,000.
Specifies the default priority for cache entries, determining how long an entry stays in a full cache.
Default | 1 |
Range | 1 to 255 |
Specifies whether disk offload is enabled.
By default, the dynamic cache maintains the number of entries configured in memory. If new entries are created while the cache is full, the priorities configured for each cache entry and a least recently used algorithm, are used to remove entries from the cache. In addition to having a cache entry removed from memory when the cache is full, you can enable disk offload to have a cache entry copied to the file system (the location is configurable). Later, if that cache entry is needed, it is moved back to memory from the file system.
Specifies the location on the disk to save cache entries when disk offload is enabled.
If disk offload location is not specified, the default location, ${WAS_TEMP_DIR}/node/server name/_dynacache/cache JNDI name will be used. If disk offload location is specified, the node, server name, and cache instance name are appended. For example, ${USER_INSTALL_ROOT}/diskoffload generates the location as ${USER_INSTALL_ROOT}/diskoffload/node/server name/cache JNDI name. This value is ignored if disk offload is not enabled.
Specifies if in-memory cached objects are saved to disk when the server is stopped. This value is ignored if Enable disk offload is not selected.
Default | false |
Related concepts
Dynamic cache