There are the largest amount of Chinese developers in the world but downloading Gradle distributions is extremely slow (<100K/s, sometimes 10K/s) in China due to Chinese government’s network blocking. However, there’re many Chinese companies providing cloud and CDN service, is there any possibility of setting a mirror in China? This can benefit millions of Chinese developer.
For example, when a request with Chinese IP detected, the server can give a 302 response and make the client redirect to distribution source in China. If possible, I can help to contact the cloud service providers in China.
Yes. According to Chinese law, every website services for China have to make a ICP license. And cloudflare will use Chinese mirrors(provided by Baidu Jiasule) if you have a Chinese ICP license, otherwise will use American mirrors. So this would cause downloads.gradle.org very slow in China.
Thanks for your suggestion, we sure can, but I personally like the same domain name. BTW, is it possible to set some “redirect rule”, which can redirect all traffic from China IP to another domain with 301/302? If so, we could use some object storage service inside China and redirect China access to these domain.