Liquid, JavaScript, themes, sales channels
Hi All,
We have noticed that Shopify introduced a new CDN for users in China(ie. 'cdn.shopifycdn.net'). Therefore, we are planning to override our image url on our Mobile App to 'cdn.shopifycdn.net' instead of 'cdn.shopify.com'.
However, we are afraid that users outside China will experience longer loading time from 'cdn.shopifycdn.net'. Can any Shopify Staff give us some ideas on the CDN serving from this domain? We assume there are some smart DNS routing on 'cdn.shopifycdn.net', so user in China will be route to CDN in China (eg. Tencent Cloud, Akami) and for users not in China will be route to Fastly.
Solved! Go to the solution
This is an accepted solution.
cdn.shopifycdn.net was something we deployed to help speed things up for users in China. It is not used by individuals outside of China. We can't guarantee that we'll continue using it in the future which is why we haven't provided documentation to developers. For this reason, developers shouldn't rely on cdn.shopifycdn.net, nor would we advise to hardcode CDN anywhere in your code as you should rely on Shopify to do the smart switching.
Trevor | Community Moderator @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
This is an accepted solution.
cdn.shopifycdn.net was something we deployed to help speed things up for users in China. It is not used by individuals outside of China. We can't guarantee that we'll continue using it in the future which is why we haven't provided documentation to developers. For this reason, developers shouldn't rely on cdn.shopifycdn.net, nor would we advise to hardcode CDN anywhere in your code as you should rely on Shopify to do the smart switching.
Trevor | Community Moderator @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
User | RANK |
---|---|
25 | |
21 | |
7 | |
6 | |
5 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023