b2c-custom-caches

Installation
SKILL.md

B2C Custom Caches

Custom caches improve code performance by storing data that is expensive to calculate, takes a long time to retrieve, or is accessed frequently. Caches are defined in JSON files within cartridges and accessed via the Script API.

When to Use Custom Caches

Use Case Example
Expensive calculations Check if any variation product is on sale for base product display
External system responses Cache in-store availability or prices from external APIs
Configuration settings Store configuration data from JSON files or external sources
Frequently accessed data Product attributes, category data, site preferences

Limitations

Constraint Value
Total memory per app server ~20 MB for all custom caches
Max caches per code version 100
Related skills

More from salesforcecommercecloud/b2c-developer-tooling

Installs
78
GitHub Stars
42
First Seen
Feb 17, 2026