CDN for Shopify

Connect a storefront or media hostname you control to Cloud CDN. Set cache policy for your Hydrogen application and keep checkout on the Shopify-managed domain.

Example cache policy
Public, cacheable resource
/assets/storefront.4d2f.js
Bypass shared cache
/account/orders

Deliver assets for a custom Shopify storefront

Place Cloud CDN in front of the storefront or asset hostnames you control. Cache Hydrogen or custom-app responses, images and downloads at the edge, and keep Shopify checkout on Shopify.

A delivery layer you operate

Purge, prefetch, Origin Shield and logs sit in the Aptranet console even when the origin is Shopify or a custom storefront.

Media beyond the theme CDN

Transform large editorial and product imagery at the edge for landing pages, lookbooks and headless front ends.

Headless storefronts stay close to shoppers

Cache eligible public responses from a Hydrogen or custom storefront according to its response headers.

Configuration

Cloud CDN overview
  1. Identify the hostnames you control

    Map custom storefront, landing-page or media hostnames to Cloud CDN. Leave checkout on Shopify-managed domains.

  2. Connect the origin

    Pull from Shopify, Hydrogen hosting or your app origin. Validate cache behaviour for anonymous storefront routes.

  3. Set image and cache policy

    Convert lookbook and PDP imagery at the edge and cache immutable build assets for longer TTLs.

  4. Cut over DNS when ready

    Point the custom hostname at the distribution after certificates and origin health look correct.

Operational outcomes

  • Custom Shopify storefronts get an independent CDN layer
  • Checkout remains on Shopify
  • Lookbook and campaign media can be transformed at the edge
  • Multi-CDN designs can include Aptranet as an additional path

Frequently asked questions

Do I need this if Shopify already has a CDN?

Use Cloud CDN when you run a custom or headless storefront, need independent purge and logs, or want a multi-CDN architecture around Shopify.

Can checkout stay on Shopify?

Yes. Accelerate the storefront and media you host. Keep payment and checkout on Shopify-managed hostnames.

Does this work with Hydrogen?

Yes. Treat the Hydrogen origin as any other application origin: cache anonymous routes, bypass session-specific paths and purge on deploy.

Can I bring my own domain?

Yes. Map a custom hostname, use a managed or custom certificate, and optionally bring your own IP and ASN.