Web Content Cache Configuration
Set the Default Web Content Cache Type
The default Web Content caching environment for the Web Content Management server is set by editing the DefaultCache and DefaultContentCache settings in the connect.cfg file.
DefaultCache value= DefaultContentCache value= No Caching False None Basic Cache True N.A. Site Caching False Site Session Caching False Session User Caching False User Secured Caching False Secured Personalized Caching False Personalized
Additional Default Web Content Cache Parameters
Web Content Cache Configuration settings are located within these sections of connect.cfg:
- The DefaultCache and ModuleResponseCache sub-sections of the BusinessLogic section.
- The ContentCache sub-section of the AJPE section of the ModuleConfig section.
- The SessionCacheConfig section.
The following settings can be defined for each cache:
Basic Cache
- DefaultCache
- DefaultCacheExpires
- DefaultCache
- ModuleResponseCache
- FlushExpiredInterval
- WriteIndexInterval
- CacheDir
- MemCacheSize
- DiskCacheSize
Advanced Cache: All
- ContentCache
- DefaultContentCache
- ContentCacheExpires
- FlushExpiredInterval
- WriteIndexInterval
- MemCacheSize
- DiskCacheSize
Advanced Cache: Session Cache only
- SessionCacheConfig
- MemCacheSize
CacheDir The directory on the Server used to store cached data. ContentCacheExpires Sets the default expiry for all Advanced Caches. It can be either a relative period or an absolute date and time. DefaultCache If True, Basic caching is enabled. If False or missing, Advanced Caching is enabled. DefaultCacheExpires Sets the default expiry for the Basic Cache. It can be either a relative period or an absolute date and time. DefaultContentCache If the Advanced Cache is enabled, the default Advanced Cache is set here. DiskCacheSize Used set the number of elements that can be held in a disk cache at any one time. If the value is 0, the disk cache will not be created. FlushExpiredInterval Sets how often to check for expired items. (In seconds.) MemCacheSize Sets the number of elements that can be held in a memory cache at any one time. If the value is 0, the memory cache will not be created. WriteIndexInterval Sets how often to write the index to disk in seconds. 0 indicates to write on every change.
Cache Size Strategy
Content is normally stored in a Cache until it has "expired". However, if the Cache is configured too small, some cached content may be dropped from the Cache to make room for newly cached content. This may result in a drop in performance. For this reason, it is important to configure the Memory Cache and Disk Cache to be large enough to store the most important Content until it expires normally.
Note that items least recently accessed from the cache will be the first dropped from a Cache.
Parent topic: Default Server Cache Configuration
IBM Workplace Web Content Management - V5.1.0.1 -
Workplace Web Content Management is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.