---
schema_version: "1"
id: 72c1e28faac7a613488deb336fa3944b5db0bcd9a76dca328a0cc97ebce35c6f
title: Cache Regeneration Process Overview
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/energy_cache_regeneration_process_overview.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.energy_cache_regeneration_process_overview.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 02a67c4d36a1dc259accaf6a44a2f2fa4b1bcfe068730389ce702087deb6bc7c
description: The Customer Acquisition Management application uses on-platform caching to offer best-fit products and services to customers with the ability to scale with demand together with speed and reliability.
products:
  - Energy and Utilities
release: "264"
---
# Cache Regeneration Process Overview

The Customer Acquisition Management application uses on-platform caching to offer best-fit products and services to customers with the ability to scale with demand together with speed and reliability.

When you add or modify the offered products and services, you must regenerate the product cache to reflect the changes in your customer experience portal.

The Customer Acquisition Management application optimizes the cache refresh process by regenerating the cache only for the delta products which have been newly added or modified. This reduces the time to refresh the cache, and there is no impact on unmodified products. For example, if you have added a new product Home Electricity Saver, and have modified the cost of the existing product Prepaid Energy. The cache is refreshed only for these two products, there is no impact on the rest of the offered products.

Here is the high-level cache regeneration process displaying the sequence in which the Vlocity Scheduled Jobs and associated Integration Procedures are invoked.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-energy_utilities-264-0-0-production-enus/520849e5-9b41-4bae-b97b-d269cc2fce83/images/icon_note.png)

Note The new and modified products are not available in the customer portal during the cache refresh. After the cache refresh is complete, you can view these new and modified products in the portal.

![Cache Regeneration Process Block Diagram](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-energy_utilities-264-0-0-production-enus/520849e5-9b41-4bae-b97b-d269cc2fce83/energy_utilities/images/reference_product_catalog_object_type_hierarchy___cache_regenrationprocess__4_.png)

- Step 1: Update the Custom Setting Records
    
    To differentiate the new and modified products from the non-modified products, the application uses the Custom Setting `sfiEnergyCAMModifiedProductsCode`. Each of these custom setting records has two fields - `Product Code` and `isProcessed` flag. Only the product codes which have `isProcessed` set to false are picked up and the associated cache records are regenerated.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-energy_utilities-264-0-0-production-enus/520849e5-9b41-4bae-b97b-d269cc2fce83/images/icon_note.png)
    
    Note
    
    As an administrator, you are responsible for maintaining the records for the custom setting `sfiEnergyCAMModifiedProductsCode`. You can add records for the new products and edit records for the modified products.
- Step 2: Delete cache records for the new and modified products
    
    The existing cache records for the new and modified products are deleted.
- Step 3: Regenerate cache for new and modified products
    
    The cache is regenerated for the products which have `isProcessed` flag set to false. These products are not visible on your portal during the cache refresh.
- Step 4: Update the product status
    
    After the cache is refreshed, the `isProcessed` flag is set to true for all the products for which the cache was regenerated.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-energy_utilities-264-0-0-production-enus/520849e5-9b41-4bae-b97b-d269cc2fce83/images/icon_note.png)

Note

The graphic above is only a pictorial representation of the steps involved in cache regeneration. Use the steps given below for an end-to-end procedure for refreshing cache in your org.