Cloudinary Blog

A Primer: Content Delivery Through a China CDN Partnered With Cloudinary

Akshay Ranganath
By Akshay Ranganath
Content Delivery Through a China CDN With Cloudinary

In February 2018, Cloudinary announced its support of content delivery through CDNs [content delivery networks] in China. With this offering, we announced the ability to support features like automatic format f_auto, DPR selection dpr_auto and authentication (using token and cookies). This post elaborates on the CDN options available to you and the related setup requirements.

Note
China CDN is an advanced solution and available for our Enterprise customers only.

Delivery of China-Destined Content Through a China CDN

As my colleague Maor Gariv explained, fast delivery of online content requires that CDN edge servers be close to viewers. For audiences in China, delivery must be through a local CDN. At the outset, you might need to procure an Internet Content Provider (ICP) license. Whether that requirement pertains to you is a legal question so consult with your legal team. Typically, an ICP license is required only if your business operates out of Mainland China and you want to host or cache content on servers there. For more details, see these two references:

Cloudinary and Its China CDNs

Cloudinary has partnered with China CDNs Akamai and ChinaCache to help our customers with content delivery in China. Akamai requires a valid ICP license. Also, even though that CDN supports HTTP traffic through its secure network, your traffic must be HTTPS based. On the other hand, ChinaCache offers a partnership whereby customers can leverage one of its subdomains for delivering status resources. Therefore, you can work with ChinaCache without an ICP license or if you’d like to deliver either of the following:

  • Traffic on a domain with a valid ICP license
  • HTTP traffic The simple decision tree below helps you decide which China CDN to opt for: Akamai or ChinaCache.

Image Source

Note

  • With a valid ICP, you can work with ChinaCache even though the setup involves a bit more paperwork. See the next section for details.
  • Both Akamai and ChinaCache require that you go through a validation process even with a valid ICP license, lengthening the integration time.

Differences Between Akamai and ChinaCache

Akamai and ChinaCache differ in two aspects: cache invalidation and contractual details.

Note
The following is a comparison between the two CDNs when working with Cloudinary for media delivery. This is not a comprehensive comparison between the 2 CDNs.

Cache Invalidation

Integrated with Cloudinary as one of its core CDNs, Akamai is available as a network choice for delivering media. If you delete or modify media assets, Cloudinary’s automated workflow seamlessly clears Akamai’s CDN cache. ChinaCache’s integration with Cloudinary yields a custom CDN for delivering your Cloudinary-hosted content. That means that, in case of asset updates or deletions, Cloudinary cannot automatically clear ChinaCache’s cache and that you must build a process to ensure that the changes are in place on ChinaCache. Cloudinary’s webhook notifications could help you set up the workflow.

Contract Requirements

Cloudinary can easily add domains with Akamai. As a customer, you only need to fulfill the formalities for account modifications or upgrades with no need for a separate contract to adopt Akamai as your China CDN. However, to enable Cloudinary to integrate with ChinaCache for content delivery, you must enter into a contract agreement with that vendor.

Time to Market

The biggest unknown for Cloudinary’s integration with a China CDN is how long it takes to obtain an ICP license. If you already have such a license and have no vendor preference, integration takes about a week, which is the time required for us to submit the license application to the CDN and for it to validate and whitelist the domain for delivery. If you don’t need an ICP license, you must first step through the procurement process with ChinaCache. This will involve some time to work on a new contract with ChinaCache. Once that’s complete, the integration at Cloudinary takes about five workdays, after which you must build the workflow for cache invalidation, which could take a few days to weeks. Overall, assume that a robust implementation of China delivery would take 15 to 30 calendar days. Again, that estimate does not include the time required for procuring an ICP license.

Conclusion

Now you have an idea of the two CDN options for delivering content in China through Cloudinary, the process of implementation, and the related schedules. Feel free to contact us with any questions and sign up for free. Our best wishes for a smooth sail in building a blazingly fast experience for your audience in China!

Recent Blog Posts

JavaScript File Upload

Uploading software files to the web, mobile, or desktop is as old as the web itself. Billions of files are moved around and downloaded on the Internet daily. Coincidentally, as the de facto language in which many apps are written, JavaScript is also as old as the web.

Read more
What’s New for Video in E-Commerce

With videos becoming more and more paramount for promoting online sales, we at Cloudinary Labs are building technology to help grow the business of e-commerce retailers. This series of blog posts delves into a few use cases that promise to boost retail revenue online across the patron’s browsing journey through the e-commerce site.

Read more
Securely Uploading Images to Cloudinary by Email

Despite United States founder Benjamin Franklin’s wisdom that three can keep a secret if two of them are dead, you as developers often need contributions from third parties for your project. However, in today’s digital world, security in software development is a predominant concern. With respect to management of rich media, it’d be ideal if those folks could upload images or videos to your Cloudinary account without having to log in.

Read more
ImageCon 2020: A Digital Experience

Despite our disappointment at the cancellation of our fourth annual ImageCon conference in late April due to the pandemic, we forged on and are thrilled to announce a digital version of ImageCon on Monday July 27 through the 30th, an excellent forum for learning from our customers, partners, and colleagues. The new digital format will deliver much of the same Visual Web-related content planned for April along with new additions, featuring five interactive sessions by renowned experts in the media sector. Each session will be about 30 minutes long, during which you can ask the speakers questions live and “get on stage.” Also, you can watch the sessions on demand afterwards.

Read more
Good Reads Meet Visual Tools at Bloomsbury

Most might know Bloomsbury Publishing as the publisher of the Harry Potter series. What you might not know is that the publishing house also has a vibrant academic division that offers digital reproductions of encyclopedias, manuscripts and museum collections for use by university libraries and researchers. Seeking a way to manipulate and serve high-resolution images, combined with security that prevented anyone other than library patrons and paid users to access the content, Bloomsbury discovered Cloudinary’s digital asset management (DAM) solution.

Read more