Enabling caching
By default, caching of published content is not enabled. Enable it in the Storage Layer configuration file to switch on a default caching implementation that improves performance of your Web site. In a scaled-out scenario, you must enable caching everywhere, and set up remote synchronization of your caches.
Procedure
- Open cd_storage_conf.xml Storage Layer configuration file in a plain-text or XML editor.
- Find the
ObjectCacheelement and set theEnabledattribute to the valuetrue. - Find the
ItemTypeselement and set thecachedattribute to the valuetrue. If you want, you can configure caching in more detail. - In
Paramelement contained in the subelementPolicy, set theValueattribute to the amount of memory you want to use for caching (defaults to 16 MB). You can also use a parameter namedSizeinstead to specify the number of objects, rather than the amount of memory, to cache. - Save and close cd_storage_conf.xml.
- Repeat the process for each of your Content Delivery Server Roles that uses the cd_storage_conf.xml Storage Layer configuration file.
- Restart your Web application, Windows service or Java process.