CDN for BigCommerce

Use Cloud CDN for your custom BigCommerce storefront and media. Set expiry rules for public catalogue responses and route cart and checkout requests to their existing services.

Example cache policy
Public, cacheable resource
/assets/catalogue.b341.js
Bypass shared cache
/checkout

Configure caching for a headless storefront

Cache the storefront application, Stencil or headless assets, and media at Cloud CDN. Keep BigCommerce checkout and admin on BigCommerce.

Storefront JS and CSS at the edge

Build assets with versioned filenames can retain long cache lifetimes.

Catalogue media close to shoppers

Product imagery is cached and optionally transformed per template.

APIs stay on BigCommerce

Cart and checkout APIs remain dynamic. The CDN accelerates the storefront layer.

Configuration

Cloud CDN overview
  1. Put the storefront origin behind Cloud CDN

    Pull the custom storefront or Stencil host, not the BigCommerce control panel.

  2. Cache immutable assets aggressively

    Hashed JS, CSS and fonts can use long TTLs. HTML uses a shorter TTL plus purge.

  3. Bypass shopper-specific routes

    Do not cache cart, checkout or account HTML.

  4. Map the shop domain

    Attach TLS and cut over DNS when the test hostname is correct.

Operational outcomes

  • Custom BigCommerce storefronts are delivered globally
  • Checkout remains on BigCommerce
  • Media can be transformed at the edge
  • Deploys purge hashed or HTML paths as needed

Frequently asked questions

Does this replace the BigCommerce CDN for images?

Use Cloud CDN for storefronts and hostnames you map. You can still use BigCommerce image URLs as an origin.

Can I run a Next.js storefront this way?

Yes. Treat the Next.js app as the origin. See also CDN for Next.js.

How do I handle price changes?

Purge product and category URLs or keep HTML TTLs short enough for the merchandising process.

Is Origin Shield useful here?

Yes when many edges miss the same product image or SSR page at once during a campaign.