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
- Review the following document to understand the methods used to generate a key:
-
Open the sample cache configuration file
cachespec.xml
in the following directory:- WCDE_installdir/samples/dynacache/marketing/
-
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/