Content Caching
Storefront Next uses a multi-tier strategy for caching content at different layers in the server architecture. First, the browser caches static content where it’s served directly to end users. Then the site eCDN (Cloudflare) caches static content for globally distributed edge caching. Finally, storefront configuration and metadata are cached in Managed Runtime (MRT) for application-level caching. As requests move downstream, the B2C Commerce layer caches metadata, while B2C Commerce API (SCAPI) caches API response data.

Static content refers to files and resources, such as JavaScript bundles, on a storefront site that are unchanged regardless of who requests them or when they’re accessed. Storefront Next delivers static content to users as-is, without personalization or server-side processing. CDNs and the browser cache static content publicly as immutable, URL-addressable resources, typically with a greater than 99% cache hit ratio.
Managed Runtime caches site and page metadata for faster page rendering.
Storefront Next performance and scalability depend heavily on web-tier caching of SCAPI responses.
Make only the necessary expansions in the request, as certain expansions have short cache entry live times. For example, unnecessarily including the “availability” expansion in requests to the Products and Product Search APIs reduces the cache hit rate drastically and negatively affects overall request performance. If no expand parameter is specified, then all expansions are selected.
For more details, see Server-Side Web-Tier Caching in the B2C Commerce API Guide.
To support personalization, Storefront Next doesn’t cache HTML documents.