b2c-custom-caches

Official

Boost performance with application-level caches.

AuthorSalesforceCommerceCloud
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Custom caching reduces repeated expensive calculations and external calls by storing data in application-local caches, improving response times and reducing load on back-end services.

Core Features & Use Cases

  • Define caches in caches.json within a cartridge to declare cache IDs and expiration.
  • Access caches via CacheMgr and store/retrieve values with getCache, put, and invalidate patterns.
  • Use cases include caching expensive computations, API results, and configuration data scoped to site or catalog.

Quick Start

Configure a caches.json for your cartridge and retrieve a cache with CacheMgr.getCache('YourCache') to store and reuse data across requests.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: b2c-custom-caches
Download link: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/archive/main.zip#b2c-custom-caches

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.