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
KorKb(for Kilobytes), orMorMb(for Megabytes). For example,32Mdenotes 32 Megabytes.Note that if you set
MemSizeto a value higher than the Java heap size, errors will occur. To fix this, either enter a lower value forMemSizeor 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.BinaryMetacom.tridion.broker.meta.categorization.Categorycom.tridion.linking.ComponentLinkcom.tridion.broker.components.meta.ComponentMetacom.tridion.ComponentPresentationcom.tridion.broker.componentpresentations.meta.ComponentPresentationMetacom.tridion.personalization.CustomerCharacteristiccom.tridion.linking.PageLinkcom.tridion.broker.pages.meta.PageMetacom.tridion.timeframes.Timeframecom.tridion.tracking.components.TrackedComponentcom.tridion.tracking.componentlinks.TrackedComponentLinkcom.tridion.tracking.pages.TrackedPagecom.tridion.personalization.TrackingKeycom.tridion.user.Usercom.tridion.broker.xslt.XSLTcom_tridion_linking_PageLinkInfocom_tridion_linking_ComponentLinkInfocom_tridion_Transformercom_tridion_TransformerResultscom_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 byKorKb(for Kilobytes), orMorMb(for Megabytes). For example,32Mdenotes 32 Megabytes.
Attributes
| Attribute | Description and use | Type |
|---|---|---|
| Name | The name of the parameter (required) | string |
| Value | The value of the parameter (required) | string |