Performance
Only existing customers can access some of the links on this page. Visit Salesforce Commerce Cloud GitHub Repositories and Access for information about how to get access to the Commerce Cloud repositories.
The B2C Commerce API relies on a decentralized infrastructure for routing and serving the API responses. This infrastructure is separate from the standard B2C Commerce Cloud POD infrastructure to provide robust scaling and performance. This infrastructure is available globally, and all B2C Commerce Cloud instances can access the B2C Commerce API. As part of the routing that occurs with a given short code, the incoming API request is routed to the POD location for your realm.
Caching of B2C Commerce API responses improves the performance of your commerce application. Caching frequently requested data in the top layers of the application enables the system to respond quickly, avoiding the need to access the server or database.
Our caching approach involves two main layers:
- Client-side caching: the front-end application layer you develop with our Node.js SDK or by with any other technology that uses our APIs. For details, see Commerce SDK Caching.
- Server-side caching: the backend layer that includes our API middleware and service implementations.