Live data from Hacker News

So you want your app/website to work in China

chanind.github.io

1–10 of 178 posts

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

#2
I traveled to China for about a month and a half a few years ago. Everything was excruciatingly slow. Except for Hacker News. Probably more about the payload size than anything else. :)

How many companies work hard to make their services readily available in China? Any notable exceptions?

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

#3

I traveled to China for about a month and a half a few years ago. Everything was excruciatingly slow. Except for Hacker News. Probably more about the payload size than anything else. :) How many companies work hard to make their services readily available in China? Any notable exceptions?

Maybe you were primarily trying to access services outside of China?

Within China things can be decently fast and low latency - from what I hear - and it is a large place with a lot of compute infrastructure.

You have to treat it as its own world. Where on the outside, all we see is the chaos and interruption of a hurricane, but there is a center that is harder to see where people go about their daily lives and have decent amenities and ux.

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

#4
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 that the website loads pretty fast there in China.

edit: formatting

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

#5
Ive lived in mainland China most of last 12 years and work in software. The last paragraph is key one for most websites. You have to remove use of all G, FB and related site scripts because these will not run. There are good alternatives anyway so do yourself a favor and replace them with self-hosted or other 3rd party alternatives.

There are sites for testing what is blocked in China - you should test all 3rd party scripts you are using to make sure they run ok.

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

#6

I traveled to China for about a month and a half a few years ago. Everything was excruciatingly slow. Except for Hacker News. Probably more about the payload size than anything else. :) How many companies work hard to make their services readily available in China? Any notable exceptions?

Offtopic, but HN has always been a reliable check for me as to whether or not I have data service or it's just extremely slow as it always loads.

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

#8

I traveled to China for about a month and a half a few years ago. Everything was excruciatingly slow. Except for Hacker News. Probably more about the payload size than anything else. :) How many companies work hard to make their services readily available in China? Any notable exceptions?

Offtopic, but HN has always been a reliable check for me as to whether or not I have data service or it's just extremely slow as it always loads.

HN occasionally becomes very, very slow (30-second load times), but usually this is just if you’re logged in and requesting templated content, as the front page is cached and loads instantly on a non-logged-in device. It does make a good connection test!
Post reply on HN