Changes to Asset URLs
- Source
- Shopify Changelog
- Published
This summary was written by ShopDigest AI from Shopify Changelog’s report. Read the full story ↗
Update: In the coming weeks we’ll start serving some store assets (e.g. images, JS or CSS) from a shop’s store domain rather than a Shopify CDN dom…
Overview
Shopify will begin serving some store assets from the store's own domain instead of the Shopify CDN, using a new URL format like shop.example.com/cdn/. The old cdn.shopify.com format will continue to work indefinitely, but new assets will use the new format in liquid tags and storefront HTML. This change aims to improve page load times, security, and reduce Shopify branding.
Key Details
- New asset URL format: shop.example.com/cdn/ instead of cdn.shopify.com/.
- Old URL format remains functional indefinitely.
- API responses will still use the old format.
- Headless shops are not affected and continue using cdn.shopify.com.
- New product images use /files path; previously uploaded images keep /products.
Why It Matters
Merchants and developers should review custom code for hard-coded assumptions about asset URLs to ensure compatibility with both formats. The change can improve storefront performance and security, potentially boosting conversion rates.
Frequently asked questions
Will old cdn.shopify.com asset URLs stop working?
No, the old cdn.shopify.com URL format will continue to work indefinitely. Shopify is introducing a new format for most assets, but existing URLs remain functional.
What is the new asset URL format for Shopify stores?
The new format is shop.example.com/cdn/ where 'shop.example.com' is the store's domain (either the myshopify.com domain or a custom domain, depending on the buyer's request). This replaces the previous cdn.shopify.com/ format for most assets.
Are headless Shopify stores affected by the asset URL change?
No, headless shops are not affected. They will continue to use cdn.shopify.com for asset delivery, as the new approach is only applied to Shopify-rendered storefronts.
What changes to product image paths are included?
New product images now use the /files path format instead of the previous /products path. Previously uploaded product images will continue to use the /products path.
Why is Shopify making these asset URL changes?
The changes improve page load times (potentially by hundreds of milliseconds), enhance security by allowing stricter CSP and CORS policies, and reduce Shopify branding on merchant domains.

