---
schema_version: "1"
id: 2f0c5871e4b67f7893e3e75d508526835c153af680163f448b7615d0afb5a630
title: Clear Platform and User Session Caches (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_clear_platform_and_user_session_caches.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_clear_platform_and_user_session_caches.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 15a9f867b191dca8fa292efd1babc42a439c9c717e56c197ce5dc2f2eb0ba608
description: 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.
products:
  - Omnistudio
release: "264"
---
# Clear Platform and User Session Caches (Managed Package)

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.

![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).

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d172511e57">
              <p style="margin-bottom:0;">Required Versions</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Required Versions" class="slds-cell-wrap" style="vertical-align:top;" headers="d172511e57 ">
              <p style="margin-bottom:0;">Available beginning with Vlocity Insurance and Health Winter '20 and Vlocity CME
                Winter '20,</p>
            </td>

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

1. Open the Vlocity Cards tab, and click **Cache Settings**.
    
    ![Cards Cache Settings](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/cache_settings.png)
2. To clear org caches, click one or more of the **Platform Org Cache** checkboxes:
    
    - **Layouts**: To clear cached card layouts, check this box.
    - **Cards**: To clear cached cards, check this box.
    - **Templates**: To clear cached card templates from the Vlocity Cards Framework, check this box.
    - **Custom Labels**: To clear cached Custom Labels across the Vlocity Cards Framework, check this box. To learn more about Custom Labels, see [Custom Labels](https://help.salesforce.com/articleView?id=cl_about.htm&type=5&language=en_US).
    
    ![Cards Clear Platform Org Cache](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/clear_cache_settings_platform.png)
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)
    
    Note
    
    Beginning with Vlocity Insurance and Health Vlocity Spring '20, Vlocity supports disabling the Vlocity platform cache. See [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.").
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)
    
    Note
    
    Beginning with Vlocity Insurance and Health Vlocity Spring '20, enabling async calls on the Vlocity platform cache. See [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.").
3. To clear cached data specific to the logged-in user across the Vlocity Cards Framework, select the **User Profile** checkbox in the **Platform Session Cache** column.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)
    
    Note
    
    The user info data cleared are: **User Id**, **Name**, **LanguageLocaleKey**, **LocaleSidKey**, **TimeZoneSidKey**, **UserType**, **UserRole.Name**, **ProfileId**, **Profile.Name**, **AccountId**, and **ContactID**.
    
    ![Cards Clear Platform Session Cache](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/clear_cache_settings_userinfo.png)
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)
    
    Note
    
    Beginning with Vlocity Insurance and Health Vlocity Winter '20 Minor Release 107.1.0.2, Vlocity supports disabling the user session cache. See [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.").
4. Click **Clear**.