Service properties that affect caching
The Voice Browser service caches four types resources: contexts, pages, data, and scripts. For a full discussion of caching in Voice Platform, see Caching mechanisms for different Voice Platform components.
These service properties affect Voice Browser service caching:
|
Parameter |
Type |
Description |
|---|---|---|
|
browser.caching.resource_type. |
Integer |
Specifies the maximum file size, in bytes, allowed for a file of the given resource type. Files of greater size are not cached. |
|
browser.caching.resource_type. |
Integer |
Specifies the maximum size, in bytes, allocated for the entire cache for the resource type. Once the cache is full, the Voice Browser service starts removing the least recently used entries to keep the cache size within configured limits. |
|
browser.loading.resource_type. |
Integer |
Specifies the fraction of a resource’s age used to calculate the freshness lifetime. |
|
browser.loading.resource_type. |
Integer |
Specifies the maximum freshness lifetime, in seconds, of a cached resource. |
|
browser.removeCachedCookies |
String |
Lists the names of cookies that are to be removed from the cache on each new attempt to read them. This forces the creation of a unique cookie for each instance. |
The Speech Server caches grammars. These service properties affect grammar caching:
|
Parameter |
Type |
Description |
|---|---|---|
|
server.cache.cacheDir |
String |
Directory in which the compiled grammars are cached. |
|
server.cache.cacheEntryExpTimeSec |
Integer |
Max time in seconds before a cache entry is considered stale. |
|
server.cache.cacheEntryMaxSizeMB |
Integer |
Maximum size allowed for a file in the cache. |
|
server.cache.cacheTotalSizeMB |
Integer |
Maximum size in megabytes reserved for the cache on disk. |
|
server.cache.unlockEntries |
Boolean |
Whether entries in the disk cache are unlocked. |