Blog › Salesforce Commerce Cloud › How Do I Speed Up a Salesforce Commerce Cloud Storefront?
Noibu blog

How Do I Speed Up a Salesforce Commerce Cloud Storefront?

How do I speed up a Salesforce Commerce Cloud storefront?

To speed up a Salesforce Commerce Cloud storefront, measure Core Web Vitals from real shoppers by page group, then work on the slowest high-revenue pages: raise page cache and CDN cache hit rates, cut slow server logic and external calls, trim JavaScript and third-party tags, and serve right-sized images. Re-measure after each release.

Last updated December 2, 2026

Salesforce Commerce Cloud runs some of the largest storefronts in retail, and those storefronts tend to grow heavy over time. Cartridges pile up, content slots multiply, tag managers gain new tags every campaign and a headless rebuild on PWA Kit brings its own JavaScript budget. Because the platform offers several layers where time can be lost, from server-side controllers to the CDN to the browser, speed work on Salesforce Commerce Cloud goes faster when it starts with measurement and follows a clear order. This guide covers where SFCC storefronts lose speed on SFRA and on PWA Kit, what to change first and how to confirm that a change helped shoppers.

Key takeaways

  • Start from real shopper data by page group, not a single lab test of the home page.
  • On SFCC, caching is the biggest lever: page cache on SFRA, CDN cache hit ratio on PWA Kit.
  • Slow controllers, external calls and remote includes add server time before the browser does anything.
  • Third-party tags, large JavaScript bundles and oversized images are the usual browser-side costs.

Part of: Noibu's Performance agent

Why do Salesforce Commerce Cloud storefronts get slow?

A Salesforce Commerce Cloud page passes through several layers before a shopper sees it: the CDN, the page cache, the controllers and scripts that build the page on the server, the content slots and remote includes that assemble it, and finally the browser, which downloads and runs the storefront's JavaScript, styles, images and third-party tags. Each layer can add time, and each grows heavier as a store adds features.

On SFRA storefronts, server time and cache behavior usually dominate. On composable storefronts built with PWA Kit, the server renders the first view and the CDN cache does the heavy lifting, while the JavaScript bundle and client-side data fetching decide how responsive the page feels. Many enterprise stores also run a large tag manager container, personalization scripts and review and chat widgets, which add browser work on every page. AI agents for Salesforce Commerce Cloud stores gives a broader view of how SFCC teams use agents across this work.

How do you find what is slowing your SFCC storefront?

Five steps to speed up a Salesforce Commerce Cloud storefront

  1. STEP 1

    Measure real shoppers

    Collect Core Web Vitals from real visits, grouped by page type and device.

  2. STEP 2

    Rank by revenue

    Order slow page groups by the revenue and traffic that pass through them.

  3. STEP 3

    Split server from browser

    Check whether time is lost before the first byte or after the page arrives.

  4. STEP 4

    Work the biggest lever

    Raise cache hits, trim server logic, or cut scripts and image weight.

  5. STEP 5

    Re-measure after release

    Compare the same page groups on real traffic before and after the change.

Measure real shoppers. A single Lighthouse run on the home page says little about a storefront with thousands of product pages. Collect Core Web Vitals from real visits and group them by page type, such as product detail, product listing, search, cart and checkout, and by device. Google's thresholds for a good experience are Largest Contentful Paint of 2.5 seconds or less, Interaction to Next Paint of 200 milliseconds or less and Cumulative Layout Shift of 0.1 or less, judged at the 75th percentile.

Rank by revenue. A slow store locator matters less than a slow product page that receives most paid traffic. Put the revenue and sessions for each page group next to its speed and start at the top. How much revenue slow page speed costs an online store covers how to estimate the gap.

Split server from browser. Compare time to first byte with the time to Largest Contentful Paint. If the first byte arrives late, the cause is upstream: cache misses, slow controllers, external calls or remote includes. If the first byte is quick but the main content appears late, the cause is in the browser: render-blocking scripts, large images or client-side data fetching.

What are the biggest speed levers on Salesforce Commerce Cloud?

Speed levers on SFRA and PWA Kit storefronts

Where to look first on each Salesforce Commerce Cloud architecture, based on Salesforce developer guidance.
LeverOn SFRAOn PWA Kit
CachingKeep first pages and campaign targets fully page cached; avoid cache invalidation at peakRaise CDN cache hit ratio; set cache durations per page; strip UTM and gclid before the cache check
Server logicKeep OnSession and OnRequest logic light; short timeouts on live external callsFetch only the data the first view needs; run independent API calls in parallel
Page assemblyLimit content slots and remote includes; separate cacheable and dynamic partsRender personalized parts on the client so server HTML stays cacheable
JavaScriptAudit cartridge scripts and tag manager tags on product templatesAnalyze the bundle; split code; lazy-load below-the-fold components
ImagesServe right-sized images through the CDN with set dimensionsUse responsive images and the Dynamic Imaging Service; lazy-load offscreen images

Caching on SFRA. Salesforce's site performance guide for B2C Commerce recommends making sure the first page and target of a campaign is fully cached, notes that POST requests are never cached and are therefore slower, and advises against page cache invalidation on production during peak traffic. The same guide notes that each content slot uses two remote includes internally, so pages with many slots make many requests to assemble.

Server logic. The same guide advises limiting expensive custom logic in OnSession and OnRequest controllers, which run on every request, and setting a low timeout, for example one second, on live calls to external systems. Slow third-party services called from a controller, such as inventory, tax or personalization lookups, are a frequent cause of a late first byte. The Code Profiler in Business Manager sorts scripts by total elapsed time, which makes the slowest ones easy to spot.

Caching on PWA Kit. Salesforce's performance best practices for PWA Kit storefronts call maximizing the CDN cache hit ratio the most effective way to improve Largest Contentful Paint for most users. The guidance includes setting cache durations per page, rendering personalized content only on the client so the server HTML stays cacheable, and stripping marketing parameters such as gclid and UTM tags before the cache check. That last point matters most for paid traffic, which almost always carries those parameters.

JavaScript and data on PWA Kit. The PWA Kit guidance recommends returning only the data a component needs for its first display, fetching independent APIs in parallel, analyzing bundle size and splitting code so components below the fold load later. Hydrating only the components that need interactivity reduces the main-thread work that hurts Interaction to Next Paint.

Third-party tags. On both architectures, tag manager containers often carry tags for campaigns that ended months ago. Audit the tags that fire on product and listing pages, remove those no one uses and delay non-essential ones until after the main content renders. Whether a monitoring tag slows down a store explains how to check any single script's cost.

Images. Images are usually the largest part of a product page. Serve right-sized images, set explicit width and height so the layout does not shift, prefer modern formats and lazy-load images below the fold while loading the main product image early.

How do you confirm a speed change helped shoppers?

Re-measure the same page groups on real traffic after the release and compare like with like, for example two normal weeks rather than a promotional week against a quiet one. Check that conversion and revenue per session moved in the same direction as the speed metrics, and watch for regressions in later releases, since a single new cartridge or tag can undo the gain. How to read peak-week speed data shows how to separate real slowdowns from traffic effects, and speeding up an Adobe Commerce store and a headless or Hydrogen storefront cover the same process on other platforms.

Salesforce releases also change the platform under the storefront. What to check after the Salesforce Commerce Cloud September 2026 release lists the checks worth running after each one.

How does Noibu's Performance agent speed up an SFCC storefront?

Noibu's Performance agent measures Core Web Vitals from real shopper traffic, ranks the slowest page groups, identifies the root cause and stages a change for review. On a Salesforce Commerce Cloud storefront, the input is real visits grouped by page type and device, with the revenue that flows through each group. The output is a ranked list of slow page groups, the cause behind each one, such as a render-blocking tag, an oversized hero image or a slow data call, and a staged change. A person on the team reviews it before anything ships, and the agent measures the page groups again after release.

The Performance agent works alongside Noibu's Bug Resolution, CRO, ADA, A/B Testing and ROAS agents, in the Noibu console and in Claude, ChatGPT and other AI tools through Noibu MCP. Noibu's Performance agent explains the workflow, and the free website audit shows what the agents find on your own store.

Noibu is AI for ecommerce operations, the always-on optimization system that keeps online stores running at their best. A team of supervised AI agents finds what's broken, slow, or leaking revenue, does the work, and hands results back for human approval. Trusted by retailers like Free People, Guess, Liquid I.V., and Ariat.

Frequently asked questions

Why is my Salesforce Commerce Cloud site slow?

The most common causes are low cache hit rates, slow server-side logic or external calls in controllers, too many content slots and remote includes, heavy JavaScript and third-party tags, and large images. Measure by page group to see which applies to your store.

Is PWA Kit faster than SFRA?

Either can be fast or slow. PWA Kit relies on server-side rendering, CDN caching and a controlled JavaScript bundle, while SFRA relies on the page cache and lean controllers. The architecture changes where time is lost, not whether it can be.

What Core Web Vitals targets should an SFCC store aim for?

Google's thresholds for a good experience are Largest Contentful Paint of 2.5 seconds or less, Interaction to Next Paint of 200 milliseconds or less and Cumulative Layout Shift of 0.1 or less, measured at the 75th percentile of real visits.

How do UTM parameters affect caching on PWA Kit?

Marketing parameters such as gclid and UTM tags make each URL look unique to the cache. Salesforce recommends stripping them in processRequest before the cache check, so paid traffic hits cached pages instead of the origin.

How does Noibu's Performance agent work on Salesforce Commerce Cloud?

It measures Core Web Vitals from real shopper traffic, ranks the slowest page groups, identifies the root cause and stages a change for your team to review before it ships.

Back to all blogs
‍
‍
See what Noibu’s AI agents would change on your store first.
Free website audit
Share

Related blog posts

No items found.

Keep your store running at its best, with AI agents that never clock out.