Administer > Dynamic caching > Improve marketing performance using caching


Set up command caching for marketing

Cacheable commands eliminate much of the overhead associated with redundant database queries by storing results from earlier queries in cache. The marketing services can now retrieve the data to display in e-Marketing Spots on store pages from the command cache instead of the database improving response time and reducing system load.


Before you begin

Review the following document to understand the methods used to generate a key:


Procedure

  1. Open the sample cache configuration file cachespec.xml located...

    • WCDE_INSTALL\samples\dynacache\marketing\

    • WC_INSTALL\samples\dynacache\marketing\

  2. Copy all the cache entries from the sample cache configuration file to the cachespec.xml file found...

    • WCDE_INSTALL\Stores.war\WEB-INF\

    • WC_INSTALL\Stores.war\WEB-INF\

  3. Optional: If you are using a staging server, or a utility such as massload, clear the marketing command cache entries once the data is pushed to production.


Related concepts

Data recording; improving runtime performance

Command caching for marketing

Marketing business object cache overview


Related tasks

Tune the marketing business object cache

Enable JSP caching

Related reference

Commands and methods for generating a cache key


+

Search Tips   |   Advanced Search