Optimize the Cache Catalog Product Definition Job
Use the Cache Management API to speed up the Cache Catalog Product Definition job.
If your org is running the CME 240.9 package, run the following prerequisite steps:
-
Create the following Apex class. For information on creating Apex classes, see Define Apex Classes.
-
Create an Interface Implementation.
-
Interface Name:
GetCacheData
-
Active Implementation Class:
CustomCacheDataImplementation
-
-
For the Interface Implementation, create an Interface Implementation Detail with the Available Implementation of
CustomCacheDataImplementation
.
Optimize the Cache Catalog Product Definition job.
-
Click the icon and then Developer Console.
-
Create a configuration snapshot.
-
Populate the cache for the getOfferDetails and getOffersByCatalogCodeAPIs by running steps 1 - 8 in Workflow for Using the Cache Management API Sample Orchestrator.
-
Activate the configuration snapshot.
If you see any errors when populating the cache, you can abort the process.
To optimize the Cache Catalog Product Definition Job's operation and prevent any errors, it is recommended to ensure that all promotions in the catalog are active and orderable.