---
schema_version: "1"
id: 101ca45b462ba3c37640a5e482261da6dcd2dfba803ce8eaf803c541d4a416c5
title: Regenerate Cache Job
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-t-regenerate-cache-job.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-t-regenerate-cache-job.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0497c7db83b971162f5df690cfa99cf387ee1bb804140a81a79f51aa7f6d44e5
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# Regenerate Cache Job

As users make their way down the commerce funnel towards purchasing the product, you organically create the cached based on the request made to the CPQ Engine. As time goes by, you end up with a robust set of cached records within your cached response object.

However, when a product administrator makes changes to an existing product catalog, for example, modifying an associated attribute or price, we then update the existing cache that corresponds to the change. This brings us to the second way to manage the cache, which is by executing the Regenerate Cache job. This job concentrates on making updates to the existing cache based on changes made to the product catalog.

## Administration

There are two ways to execute the Regenerate Cache jobs. You can decide which method to choose based on the size of your catalog and the time it takes to execute each job.

**important:** Avoid mixing or interrupting cache management APIs with cache management batch jobs and vice-versa. Choose a method for executing cache management and maintain a consistent execution pattern.

- A [batch process](https://developer.salesforce.com/docs/industries/cme/guide/comms-t-regenerate-cache-batch-process.md) named Regenerate API Cache, available through the CMT Administration UI.

  Each job works by executing several different APEX jobs.

- [Regenerate Cache APIs](https://developer.salesforce.com/docs/industries/cme/guide/comms-t-regenerate-cache-apis.md), available as REST APIs.

  These are Cache Management APIs that can make API calls in parallel, which can dramatically speed up the process of populating your cache.
