+

Search Tips   |   Advanced Search

Web content cache configuration

We can tailor the caching behavior of the web content environment by changing configuration settings such as the default cache type and expire settings.

You define and manage web content cache options in the WCM WCMConfigService service.


Set the default web content cache type

The default web content caching environment for the web content server is specified by the following properties:

Parameter defaultcache value defaultcontentcache value
No caching: false None
Basic cache: true Not specified
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 the WCM WCMConfigService service.

Cache Type Properties
Basic cache: connect.businesslogic.defaultcacheexpires

connect.businesslogic.defaultcache

Advanced cache: All connect.moduleconfig.ajpe.contentcache.defaultcontentcache

connect.moduleconfig.ajpe.contentcache.contentcacheexpires

Advanced cache: Session cache only connect.sessioncacheconfig.memcachesize

Cache Property Details
contentcacheexpires 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 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 Define the maximum time an item will be stored in a web browser cache.
resourceserver.maxCacheObjectSize 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 in Table 3, we can specify either a relative time, or absolute time:

{units} =

{date-format-string} =

The last two formats assume GMT.

Examples:


Parent: Caching options

Related:

Set service configuration properties