Documentation Center

Configuring storage for Pages of a certain file type

You can override the default storage medium or caching behavior for all Pages of a certain file type (that is, Pages with specific file extensions) 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="Page" itemExtension="EXT" cached="CACHE_BEHAVIOR" storageId="STORAGE_ID" />
    where
    • EXT is a file extension
    • 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.
    EXT must be one of the following:
    • .Jsp
    • .Aspx
    • .html
  3. Repeat these steps as needed in order to configure separate storage behavior for other Page file types.
  4. Save and close cd_storage_conf.xml.