Documentation Center

Configuring storage for items of a certain type

You can override the default storage medium or caching behavior for all items of a certain item type by inserting an Item element inside the ItemTypes element.

Procedure

  1. In the configuration directory of the Role, open cd_storage_conf.xml for editing.
  2. Inside the ItemTypes element, insert the following Item child element:
    <Item typeMapping="TYPE_NAME" cached="CACHE_BEHAVIOR" storageId="STORAGE_ID" />
    where
    • TYPE_NAME is the name of an item type
    • STORAGE_ID identifies the storage provider to be used for this specific item type.
    • CACHE_BEHAVIOR is a Boolean that enables or disables caching on this item type.
    TYPE_NAME must be one of the following:
    ValueDescription
    BinaryA binary resource
    ComponentLinkClickInformation about visitors clicking on a Component Link, used in the Communication Statistics product
    ComponentPresentationA Component Presentation (the result of rendering a Component with a Component Template)
    ComponentVisitInformation about visitors visiting a Component, used in the Communication Statistics product
    DynamicLinkInfoThe properties of a dynamic link
    ExtensionDataRendering instructions related to custom content you add during publishing (if TYPE_NAME has this value, STORAGE_ID must refer to a database, not a file system)
    MetadataThe metadata of items, including binary variants and link information
    PageA Page
    PersonalizationData related to Personalization & Profiling functionality
    PublicationA Publication
    QueryA Query used for Intelligent Navigation
    TaxonomyA Taxonomy
    TimeframeA Timeframe, as used in Personalization & Profiling
    TrackedPageA Tracked Page, as used in Personalization & Profiling
    XSLTAn Dynamic Template containing an XSLT stylesheet
  3. Repeat these steps as needed in order to configure separate storage behavior for other item types.
  4. Save and close cd_storage_conf.xml.