Enable JSP snippet caching

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

Note: IBM recommends using the new e-Marketing Spot JSP caching technique based on activity behavior. 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\


Related concepts
Invalidating the JSP cache


Related reference
Marketing performance tuning
Marketing cache design considerations