Documentation Center

Param

This topic describes the Param element.

Description

A named parameter for the Policy. The LRUPolicy has a number of named parameters that you can use to set the overall cache size, and to specify individual caching options per cache region. The parameters are:

Overall cache

To configure the overall cache, use either Size or MemSize:

Size

The maximum size of the entire cache, in number of objects. Defaults to 128.

MemSize

The maximum size of the cache, in Kilobytes or Megabytes. Write this value as an integer followed by K or Kb (for Kilobytes), or M or Mb (for Megabytes). For example, 32M denotes 32 Megabytes.

Note that if you set MemSize to a value higher than the Java heap size, errors will occur. To fix this, either enter a lower value for MemSize or increase the heap size.

Cache for a specific region

Configure a cache region separately only if you are experiencing problems with your cache. Parameters for caching a specific region involve a <REGIONNAME> string. This string can have one of the following values:

  • com.tridion.broker.binaries.meta.BinaryMeta
  • com.tridion.broker.meta.categorization.Category
  • com.tridion.linking.ComponentLink
  • com.tridion.broker.components.meta.ComponentMeta
  • com.tridion.ComponentPresentation
  • com.tridion.broker.componentpresentations.meta.ComponentPresentationMeta
  • com.tridion.personalization.CustomerCharacteristic
  • com.tridion.linking.PageLink
  • com.tridion.broker.pages.meta.PageMeta
  • com.tridion.timeframes.Timeframe
  • com.tridion.tracking.components.TrackedComponent
  • com.tridion.tracking.componentlinks.TrackedComponentLink
  • com.tridion.tracking.pages.TrackedPage
  • com.tridion.personalization.TrackingKey
  • com.tridion.user.User
  • com.tridion.broker.xslt.XSLT
  • com_tridion_linking_PageLinkInfo
  • com_tridion_linking_ComponentLinkInfo
  • com_tridion_Transformer
  • com_tridion_TransformerResults
  • com_tridion_broker_components_meta_componentmeta_QueryResults

Note that SDL Tridion add-on products may introduce additional cache region names to specify.

The parameters for configuring region-specific caching are:

RegionSize:<REGIONNAME>

The maximum size of the cache for the cache region called <REGIONNAME>, in number of objects.

RegionMemSize:<REGIONNAME>

The maximum size of the cache for the cache region called <REGIONNAME>, in Kilobytes or Megabytes. Write this value as an integer followed by K or Kb (for Kilobytes), or M or Mb (for Megabytes). For example, 32M denotes 32 Megabytes.

Attributes

AttributeDescription and useType
Name

The name of the parameter

(required)
string
Value

The value of the parameter

(required)
string