Setting up command caching for marketing

Cacheable commands eliminate much of the processor usage associated with running redundant database queries by storing results from earlier queries in a cache. The marketing services can retrieve data to display in e-Marketing Spots on store pages from the command cache instead of the database. This retrieval improves response time and reduces system load.

Procedure

  1. Review the following document to understand the methods used to generate a key:
  2. Open the sample cache configuration file cachespec.xml in the following directory:
    • WCDE_installdir/samples/dynacache/marketing/
  3. Copy all the cache entries from the sample cache configuration file to the cachespec.xml file found in the following directory:
    • workspace_dir/Stores/WebContent/WEB-INF/