You can override the default storage medium or caching behavior for all items published from a certain Content Manager 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
- In the configuration directory of the Role, open
cd_storage_conf.xml for editing.
- 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.
- 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.
- Repeat these steps as needed in order to configure separate storage behavior for other Publications.
- Save and close
cd_storage_conf.xml.