Enabling JSP snippet caching

You can avoid running the e-Marketing Spot snippet for each page load by enabling JSP snippet caching.

Note: It is recommended that you use the new e-Marketing Spot JSP caching technique based on activity behavior. For more information, see Overview of e-Marketing Spot JSP caching based on activity behavior.

Procedure

  1. Configure all the e-Marketing Spots associated with each page in the campaign caching file eMarketingSpotInvocationList.xml in the following directory: workspace_dir\WC\xml\campaigns\cache\
  2. Add a servlet cache entry to the cachespec.xml file similar to the example found in the sample cachespec.xml file in the following directory: WCDE_installdir\samples\dynacache\marketing\