B2c Custom Caches

Implement custom caching with CacheMgr, caches.json definitions, and cache region configuration. Use this skill whenever the user needs to cache expensive computations or API responses server-side, define cache regions with TTL and size limits, invalidate cache entries, or debug disappearing cache data. Also use when optimizing script performance with application-level caching -- even if they just say 'cache this data' or 'my cached values keep disappearing'.

salesforcecommercecloud 04eabe1 2 files · 10.4 KB Updated

File contents

salesforcecommercecloud/b2c-developer-tooling/tree/main/skills/b2c/skills/b2c-custom-caches commit 04eabe10f9

Frequently asked questions

npx skillmds@latest add salesforcecommercecloud/b2c-custom-caches