Live data from Hacker News

So you want your app/website to work in China

chanind.github.io

131–140 of 178 posts

Re: So you want your app/website to work in China

#132

My best best advices are not listed there - Stop using Google CDNs - Stop using Google fonts - Don't put Google Analytics in the header (or don't use it) otherwise will block/delay the browser load the website. Most of the websites just timeout because of those 3 things and make the website imposible to navigate. If you host your website in a normal VPS, without using Google services you will have a quite nice chance…

The Decentraleyes Firefox extension alleviates this somewhat as it caches popular things like jquery (that are often hosted by Google) locally on your device, making foreign websites load quicker.

Re: So you want your app/website to work in China

#133
post #91

I'm Chinese. It's not that bad. * I've been hosting my Chinese blog in US vps since 2009 and it works fine. * I have Gitea hosted in US vps and it works fine too. * GoDaddy has Alipay (sort of China's PayPal) up for a long time. * ICP Licenses are easy to get (at least for Chinese) and typically take less a month. I've done it for my company's websites and my clients' websites. * ICP licenses are required only if you…

Do GitHub releases (downloadable files hosted on GitHub) work well in China in general?

Anecdotal: they work, but slowly. So for large files I use a vpn

Re: So you want your app/website to work in China

#134
post #83
post #68

Earlier quoted context omitted.

No it's not an intranet. Chinese people still connect to the internet. They've got a firewall around their whole country, not unlike any firewall a corporation might put up to prevent their employees from accessing content the company disagrees with (like viewing pornography/4chan from the network). Sounds like you need educating on the differences.

>> China just has a local Intranet and when you are lucky (and increasingly luckier every year) you can access some small websites on the Internet. > They've got a firewall around their whole country, not unlike any firewall a corporation might put up to prevent their employees from accessing content the company disagrees with (like viewing pornography/4chan from the network). I kinda think you just made his point fo…

"local-phone-number registration requirements" because it's required that it's should be easy to find the real person(account->phone number->id number) for all user generated content

Re: So you want your app/website to work in China

#135

My best best advices are not listed there - Stop using Google CDNs - Stop using Google fonts - Don't put Google Analytics in the header (or don't use it) otherwise will block/delay the browser load the website. Most of the websites just timeout because of those 3 things and make the website imposible to navigate. If you host your website in a normal VPS, without using Google services you will have a quite nice chance…

> - Stop using Google fonts

I think we can avoid Google font CDNs for fonts but we can use them from our assets i.e download the font and use it from your assets instead of Google CDN.

Re: So you want your app/website to work in China

#136
post #10

Earlier quoted context omitted.

If you're loading them asynchronously, no.

On this page[1] it says that even links (e.g. Google Play links) might cause slow page load time. [1] https://crossborder.digital/how-to-test-your-page-loading-speed-in-china/

I think they mean that linking to Google Play won't lead to users downloading your app, not that merely including the link will slow down page load. The same is true of embeds, e.g. YouTube videos will fail to load, but the rest of the site won't be affected by that. The article's headline focusing on speed is probably just SEO.

Re: So you want your app/website to work in China

#137
post #91

I'm Chinese. It's not that bad. * I've been hosting my Chinese blog in US vps since 2009 and it works fine. * I have Gitea hosted in US vps and it works fine too. * GoDaddy has Alipay (sort of China's PayPal) up for a long time. * ICP Licenses are easy to get (at least for Chinese) and typically take less a month. I've done it for my company's websites and my clients' websites. * ICP licenses are required only if you…

> Hosting in China is ridiculously expensive and many Chinese go out of their way to host elsewhere If I host in Europe or US would the speed of traffic going into China be very slow? If I get a 1Gbps server in EU most likely I can serve 1Gbps to USA. Will I be able to serve 1Gbps to China from that EU server? > For 9$ a month you get 1 cpu, 1G ram and 1MBit bandwidth That is insanely expensive. How can startups in C…

> If I host in Europe or US would the speed of traffic going into China be very slow?

I'm not sure, but I guess it should be nowhere near 1Gbps. You'll have to test it to find out.

> How can startups in China handle that kind of hosting cost?

It's mainly bandwidth that's expensive, but there is cheap cdn/cloud storage for static files, like videos. Then you can also pay by traffic, which is around $0.12/Gb.

Re: So you want your app/website to work in China

#138

My best best advices are not listed there - Stop using Google CDNs - Stop using Google fonts - Don't put Google Analytics in the header (or don't use it) otherwise will block/delay the browser load the website. Most of the websites just timeout because of those 3 things and make the website imposible to navigate. If you host your website in a normal VPS, without using Google services you will have a quite nice chance…

I avoid these 3 for every website. I want to be in control of what my website delivers and who can trafk my users

Re: So you want your app/website to work in China

#140
post #118
post #91

I'm Chinese. It's not that bad. * I've been hosting my Chinese blog in US vps since 2009 and it works fine. * I have Gitea hosted in US vps and it works fine too. * GoDaddy has Alipay (sort of China's PayPal) up for a long time. * ICP Licenses are easy to get (at least for Chinese) and typically take less a month. I've done it for my company's websites and my clients' websites. * ICP licenses are required only if you…

Thanks, I live in China too. I want to know is it easy to update ip address associated with ICP license? I seek an option to transfer from more expensive to cheaper vps solution and want to maintain icp license I already got.

As far as I know, you can't do that, since your ICP license is tied to a host provider (like Aliyun), if you host your site somewhere else, you risk having your license revoked.
Post reply on HN