Configuring storage for items published from a specific Publication

You can override the default storage medium or caching behavior for all items published from a certain publication by adding a Publication element. Then, within that Publication, you can again override its defaults for specific item types by adding Item subelements.

Procedure

  1. In the configuration directory of the Role, open cd_storage_conf.xml for editing.
  2. Inside the ItemTypes element, find the last Item child element and below it, add a Publication element as follows:
    <Publication Id="PUB_ID" defaultStorageId="STORAGE_ID" cached="CACHE_BEHAVIOR">
    </Publication>
    where
    • PUB_ID identifies the Content Manager Publication for which you want to override the default configured storage behavior
    • 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.
  3. If you want to override the storage configuration for specific item types published from this Publication, insert Item elements inside the Publication element and configure them as you would directly within the ItemTypes element.
  4. Repeat these steps as needed in order to configure separate storage behavior for other Publications.
  5. Save and close cd_storage_conf.xml.