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 |
---|---|
33 | |
25 | |
17 | |
9 | |
9 |
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023