by victornomad · 7y ago · 0 comments
- 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
Sometimes there wouldn’t even be UI that would load to indicate something was wrong. Logins would just fail with cryptic messages.
I know some enterprise environments are, not surprisingly, not too fond of 3rd-party scripts, and their firewalls could be nearly as bad too.
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.
Will have to double check...
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.