Web content cache configuration
Overview
Caching options for IBM Lotus Web Content Management are defined in...
PROFILE_HOME/PortalServer/wcm/shared/app/config/wcmservices/WCMConfigService.properties
Web content caching environment properties...
- connect.businesslogic.defaultcache
- connect.moduleconfig.ajpe.contentcache.defaultcontentcache
Parameter defaultcache defaultcontentcache 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 specified by the following properties in WCMConfigService.properties.
Table 2. Cache properties per cache type
Cache Type Properties Basic cache connect.businesslogic.defaultcacheexpires connect.businesslogic.defaultcacheAdvanced cache: All connect.moduleconfig.ajpe.contentcache.defaultcontentcache connect.moduleconfig.ajpe.contentcache.contentcacheexpiresAdvanced cache: Session cache only connect.sessioncacheconfig.memcachesize
Cache Property Details contentcacheexpires This 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 This 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. resourceserver.browserCacheMaxAge This is used to define the maximum time an item will be stored in a Web browser cache. resourceserver.maxCacheObjectSize This is used to define the maximum size of objects that can be cached in kilobytes. By default this is set to 300.
Cache expire time formats
When setting the cache expire settings listed above, you can specify either a relative time, or absolute time:
- REL {integer-value}{units}
- ABS {date-format-string}
{units} =
- d|D for days
- m|M for months
- s|S for seconds
- h|H for hours
{date-format-string} =
- Mon, 06 Nov 2000 09:00:00 GMT
- Monday, 06-Nov-00 09:00:00 GMT
- Mon Nov 6 09:00:00 2000
- 6 Nov 2000 9:00 AM
The last two formats assume GMT. Examples:
- contentcacheexpires="REL 300S"
- contentcacheexpires="ABS Mon, 06 Nov 2000 09:00:00 GMT"
Parent topic:
Configure a Web content delivery environment