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 Salesforce 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 Salesforce 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 Salesforce 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:

  1. 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.
  2. Server-side caching: the backend layer that includes our API middleware and service implementations.