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
-
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\ -
Add a servlet cache entry to the
cachespec.xml
file similar to the example found in the samplecachespec.xml
file in the following directory: WCDE_installdir\samples\dynacache\marketing\