---
schema_version: "1"
id: 5fd8762a7cd1f3dde88f61a75972c2538bb9c0f599b787d1f208198631994591
title: Cards Caching (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_cards_caching.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_cards_caching.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 230974b87df779765ed570364a06d85defc02c2e33a811cc2632e66230280b7a
description: For the managed package runtime, cards, card layouts, templates, custom labels, and profile data load from the VlocityMetadata partition of the Platform Cache when the card is active and viewed from a record page or a community page. You can clear, enable, or disable the user session cache and specific types of data from the Platform Cache.
products:
  - Omnistudio
release: "264"
---
# Cards Caching (Managed Package)

For the managed package runtime, cards, card layouts, templates, custom labels, and profile data load from the **VlocityMetadata** partition of the Platform Cache when the card is active and viewed from a record page or a community page. You can clear, enable, or disable the user session cache and specific types of data from the Platform Cache.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

To confirm your org has enough space allocated to the **VlocityMetadata** partition or to allocate more space, see [Allocating Space in the Platform Cache Partitions](https://help.salesforce.com/s/articleView?id=service.vaccine_packages_allocate_org_cache_hv.htm&type=5&language=en_US).

## Clearing Caches

Remove stored data by clearing specific types of data from the platform and user session caches to get the latest available data from the database. See [Clear Platform and User Session Caches (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_clear_platform_and_user_session_caches.htm&release=264.0.0&type=5 "For the managed package runtime, remove temporarily stored data by clearing the platform and user session caches to get the latest available data. Cards, card layouts, templates, custom labels, and profile data load from the VlocityMetadata partition of the Platform Cache when the card is active and viewed from a record page or a community page.").

## Enabling and Disabling Caches

Enable and disable specific caches.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d215618e91">
              <p style="margin-bottom:0;">Cache Type</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d215618e97">
              <p style="margin-bottom:0;">Description</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Cache Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d215618e91 ">
              <p style="margin-bottom:0;">User Session Cache</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d215618e97 ">
              <p style="margin-bottom:0;">Disable user information caching in the session cache. See <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_disable_user_information_caching.htm&amp;release=264.0.0&amp;type=5" title="For the managed package runtime, disable user information caching in the session cache. The Vlocity Cards Framework keeps stored user profile data on the VlocityMetadata partition of the Platform Cache. The Cards.UserTrigger caches the user after user information updates, and removes the cached user after the user is disabled or deleted.">Disable User Information Caching (Managed Package)</a>.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Cache Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d215618e91 ">
              <p style="margin-bottom:0;">Future Method Calls on the Platform Cache</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d215618e97 ">
              <p style="margin-bottom:0;">Enable async calls on the Vlocity platform cache. See <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_enable_async_caching_on_the_vlocity_card_framework.htm&amp;release=264.0.0&amp;type=5" title="For the managed package runtime, use the Future Method to enable card caching to run in sync with the Vlocity Card Framework. Future method calls are async calls made by an Apex class.">Enable Async Caching on the Vlocity Card Framework (Managed Package)</a>.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Cache Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d215618e91 ">
              <p style="margin-bottom:0;">Platform Cache</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d215618e97 ">
              <p style="margin-bottom:0;">Disable caching across the Vlocity Cards Framework to get the latest
                available data directly from the database. See <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_disable_platform_cache.htm&amp;release=264.0.0&amp;type=5" title="For the managed package runtime, disable caching across the Vlocity Cards Framework to get the latest available data directly from the database. Cards, card layouts, templates,custom labels, and profile data load from the VlocityMetadata partition of the Platform Cache when the card is active and viewed from a record page or a community page by the end-user.">Disable Platform Cache (Managed Package)</a>.</p>
            </td>

          </tr>
        </tbody>
      </table>

- **[Clear Platform and User Session Caches (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_clear_platform_and_user_session_caches.htm&release=264.0.0&type=5)**  
    For the managed package runtime, remove temporarily stored data by clearing the platform and user session caches to get the latest available data. Cards, card layouts, templates, custom labels, and profile data load from the **VlocityMetadata** partition of the Platform Cache when the card is active and viewed from a record page or a community page.
- **[Disable Platform Cache (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_disable_platform_cache.htm&release=264.0.0&type=5)**  
    For the managed package runtime, disable caching across the Vlocity Cards Framework to get the latest available data directly from the database. Cards, card layouts, templates,custom labels, and profile data load from the **VlocityMetadata** partition of the Platform Cache when the card is active and viewed from a record page or a community page by the end-user.
- **[Disable User Information Caching (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_disable_user_information_caching.htm&release=264.0.0&type=5)**  
    For the managed package runtime, disable user information caching in the session cache. The Vlocity Cards Framework keeps stored user profile data on the **VlocityMetadata** partition of the Platform Cache. The `Cards.UserTrigger` caches the user after user information updates, and removes the cached user after the user is disabled or deleted.
- **[Enable Async Caching on the Vlocity Card Framework (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_enable_async_caching_on_the_vlocity_card_framework.htm&release=264.0.0&type=5)**  
    For the managed package runtime, use the Future Method to enable card caching to run in sync with the Vlocity Card Framework. Future method calls are async calls made by an Apex class.