Live data from Hacker News

So you want your app/website to work in China

chanind.github.io

151–160 of 178 posts

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

#151

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…

IMHO good advice even when you're not looking specifically at China.

I know some enterprise environments are, not surprisingly, not too fond of 3rd-party scripts, and their firewalls could be nearly as bad too.

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

#152

Honestly, I wouldn’t make it available in China. I want to give them a reason to take that firewall down. I don’t want to make the prison that their government has turned their country into, a sustainable one.

If you block Chinese people from viewing your website, you're only hurting Chinese people. The government doesn't give a shit about your website or your users.

The internet is a place that can exist without borders, there's no reason for us to voluntarily erect any.

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

#153

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'm always surprised how Golang got so popular in China in such environments.

well. lot of programmers in china know how to use the internet "scientifically" (科学上网), which means "use VPN".

PS: VPN is a blocked keyword, so we say "use internet scientifically"

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

#154

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…

you are absolutely right.

Stackoverflow use Google CDN. The one to be blamed is the chinese GFW. but it will be much better if they do not use google service. Maybe they do not bother to serve user in china.

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

#156

Earlier quoted context omitted.

In many countries sending something over a satellite requires registration (which can be used for control subsequently), or even a license. Unless it will be a type of technology which is very hard to block, and locate, I wouldn't expect it to beat censorship.

how do you imagine they would police it?

They already do it: first of all, by controlling of import/sales of equipment, and by incentivizing citizens to tip police. Also, there are frequency control inspections which keep maps of radiotransmitting activity. It's easy to spot any new transmitter.

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

#157

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…

My biggest frustration while browsing in China was reCAPTCHA. Most websites would load fine, but then they would detect that I was in a new location and this would trigger their account protection bullshit and ask me to complete a reCAPTCHA that...wouldn’t load. This happened ALL THE TIME and is just excruciating. Sometimes there wouldn’t even be UI that would load to indicate something was wrong. Logins would just f…

Because they probably hadn't written specific error messages for "half the auth packets came back destroyed or missing".

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

#158

Honestly, I wouldn’t make it available in China. I want to give them a reason to take that firewall down. I don’t want to make the prison that their government has turned their country into, a sustainable one.

If you block Chinese people from viewing your website, you're only hurting Chinese people. The government doesn't give a shit about your website or your users. The internet is a place that can exist without borders, there's no reason for us to voluntarily erect any.

The government is ultimately at the mercy of its people. If they can't access the things they want, then that will add to their issues with the government.

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

#160
post #141

Earlier quoted context omitted.

Did spectramax's comment contain any new information for you? Do you think it contained new information for anyone? Judging by the responses, that's not the case. Posting what can be summed up as "The government of country X is evil." predictably leads to comparisons with the US government, all of which is just noise. It's certainly not going to dissuade anyone from supporting them, since nobody thinks of their actio…

It doesn't need to contain new information in order to be relevant. Their behavior may not affect you but I can guarantee that it affects other people, such as myself. I believe doing what's the morally right thing to do is more important than earning a few extra bucks.

> Their behavior may not affect you but I can guarantee that it affects other people, such as myself.

Assuming "their behavior" means that of the Chinese government, then I can assure you that I have also been affected.

> I believe doing what's the morally right thing to do is more important than earning a few extra bucks.

And nobody is going to disagree with that. Nobody who earns a few bucks thinks that they're morally in the wrong, but does it anyway. And it's not because they think that the Chinese government isn't evil either. They simply don't see a connection between what they do and what the government does. So arguing that the government is evil doesn't change anyone's mind, because they already agree with you on that.

You'd do better by focusing on the direct consequences of specific actions. E.g. if a Western company storing user data on Chinese servers led to the arrest of an innocent person, that's a much stronger argument than saying that you shouldn't use Chinese servers because the government is known to arrest innocent people. Otherwise the connection just isn't there.

Post reply on HN