Set Up a Platform Cache Partition with Provider Free Capacity
Salesforce provides 3 MB of free Platform Cache capacity for security-reviewed managed
packages. This is made available through a capacity type called Provider Free capacity and is
automatically enabled in all Developer edition orgs.
Follow the steps here to allocate the Provider Free capacity to a Platform Cache
partition before adding it to your managed package.
Create a partition from the Platform Cache page and then set it up to use the Provider Free capacity
-
From Setup, in the Quick Find box, enter Platform Cache, and then
select Platform Cache.
As the Provider Free capacity is automatically enabled in all Developer edition orgs, the Org’s Capacity Breakdown donut chart shows the Provider Free capacity.
- Click New Platform Cache Partition.
- In the Label box, enter a name for the partition. The name can contain alphanumeric characters only and must be unique in your org.
- In the Description box, enter an optional description for the partition.
- In the Capacity section, allocate separate capacities for session cache and org cache from the available Provider Free capacity.
- Save the new Platform Cache partition.
You can add this new Platform Cache partition to your managed package. When a
security-reviewed managed package with Platform Cache partition is installed on the subscriber
org, the Provider Free capacity is allocated and automatically made available to the installed
partition. The managed package can start using the Platform Cache partition; no post-install
script or manual allocation is required.
When a Platform Cache partition with Provider Free capacity is installed in a subscriber org, the Provider Free capacity allocated is non-editable. The provider free capacity of one installed partition can’t be used for any other partition.