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
- In each of your Content Delivery Server Roles that uses the cd_storage_conf.xml Storage Layer configuration file, open the 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 and restart your Web application, Windows service or Java process.