- 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.
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 fail with cryptic messages.
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.
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.
You can still use them, but a different URL. Google has a CDN in China for those fonts and stuff. Also Google Analytics are not blocked at all in China.
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.
Only if the vanilla analytics product without any adwords or partner scheme options (i.e. coming from google-analytics.com rather than anything coming from Google.com). Plus it could disappear on a whim (as did Bing for a couple of days last month), so unless the use-case is unavoidable, why not self-host?
- 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