# Populate Cache Batch Process

You can populate and initialize the cache by running batch jobs from the CMT Administration screen.

For an overview of Digital Commerce caching, see [Digital Commerce API Caching](/docs/industries/cme/guide/comms-t-digital-commerce-api-caching.md).

The following table describes the purpose of each of the jobs:

| Batch Job                   | Description                                                                                                                                                             | Interface and Implementation                                                                                                             | Custom Settings                                                          |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| ContextEligibilityGenerator | Populates the cache with eligible offers for individual context combinations. This data is used in the GetOffers and GetContainOffers jobs.                             | [ContextEligibilityBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_contexteligibilitybatchjobrecord_653197.htm) | CacheAPI.GetRelOffersCacheRecLimit CacheAPI.MaxGetRelOffersCacheRecLimit |
| EcomDataProfileGenerator    | Populates the cache with Products, Promotions, and PCIMap data for existing products related to each catalog. This data is used in the ContextEligibilityGenerator job. | [DataProfileBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_dataprofilebatchjobrecord_653414.htm)               | CacheAPI.CombinationLimit CacheAPI.MaxCombinationLimit                   |
| RuleSetCombinationGenerator | Populates the cache with RuleSet context combinations. This data is used in the ContextEligibilityGenerator job.                                                        | [RuleSetCombinationBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_rulesetcombinationbatchjobrecord_657153.htm) | CacheAPI.GetOffersCacheRecLimit CacheAPI.MaxGetOffersCacheRecLimit       |
| GetContainOffers            | Populates the cache with the parent offers for individual offers.                                                                                                       | [GetRelatedOffersBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_getrelatedoffersbatchjobrecord_654433.htm)     | None                                                                     |
| GetOfferDetails             | Populates the cache with the details of individual offers (both products and promotions).                                                                               | [GetOfferDetailsBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_getofferdetailsbatchjobrecord_654149.htm)       | None                                                                     |
| GetOffers                   | Populates the cache with the list of offers for individual context combinations.                                                                                        | [GetOffersBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_getoffersbatchjobrecord_654204.htm)                   | None                                                                     |
| GetOffersHierarchyHelper    | Populates the cache with the hierarchy of bundles. This data is used in the GetOfferDetails job.                                                                        | [GetOffersHierarchyBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_getoffershierarchybatchjobrecord_654258.htm) | None                                                                     |
| GetPrices                   | Populates the cache with the prices of products.                                                                                                                        | [GetPricesBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_getpricesbatchjobrecord_654313.htm)                   | None                                                                     |

To run the Populate API Cache batch jobs:

1. Navigate to the **Vlocity CMT Administration** screen.

2. Click **Start** next to **Populate API Cache**.

   The Populate API Cache screen appears. The illustration below shows a sample of the Populate API Cache screen,

   ![Populate API cache](https://a.sfdcstatic.com/developer-website/sfdocs/industries/media/populate_api_cache\_3.png)

3. Make any of the following optional settings:

   - To specify a particular cache job to run, check the box next to the job name.

   - To specify that all of the cache jobs should run, check the box next to **Name**.

   - To specify that you want to populate the cache with information from one or more catalogs, select the checkbox next to each catalog.

   - To specify that you want to populate the cache with information from all active catalogs, select the **All** checkbox under Catalogs.

   - Use the **Effective Start Date** and **Expiration Date** fields to specify the length of time the cache is active.

4. Click **OK**. You receive a confirmation about whether the job or jobs have run successfully.

   The Populate API Cache page shows only those catalogs marked as Active

   :::note
   You can also run the Digital Commerce API cache jobs remotely using APEX. See [Running Maintenance and Digital Commerce Cache Jobs Remotely](/docs/industries/cme/guide/comms-t-running-maintenance-and-digital-commerce-cache-jobs-remotely.md).
   :::
