Re:So you want your app/website to work in China
by chairmanwow on Friday March 22, 2019 @12:41AM
(#19459673)
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.
Re:So you want your app/website to work in China
by acct1771 on Friday March 22, 2019 @09:06AM
(#19462138)
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
by userbinator on Friday March 22, 2019 @08:07AM
(#19461722)
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
by solstice on Friday March 22, 2019 @05:00AM
(#19460648)
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
by trojanh on Friday March 22, 2019 @06:22AM
(#19461092)
> - 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
by tonyaiken on Thursday March 21, 2019 @08:34PM
(#19458700)
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.
Re:So you want your app/website to work in China
by benguild on Thursday March 21, 2019 @11:05PM
(#19459320)
Is the CDN different for fonts?
Re:So you want your app/website to work in China
by lawrencegs on Thursday March 21, 2019 @09:32PM
(#19458949)
How about Recaptcha?
Re:So you want your app/website to work in China
by lawrencegs on Friday March 22, 2019 @07:00AM
(#19461294)
My bad, what I really meant is: What are the suitable replacement for Recaptcha?
Re:So you want your app/website to work in China
by intellix on Thursday March 21, 2019 @10:39PM
(#19459206)
I'm thinking that generally it works but the other night during the nightly internet apocalypse I had to disable it all to use my own site.
Will have to double check...
Re:So you want your app/website to work in China
by intellix on Friday March 22, 2019 @10:33PM
(#19468696)
yep, during the day you don't really notice cause VPNs work etc but once it gets to night, everything stops working
Re:So you want your app/website to work in China
by kszxgz on Friday March 22, 2019 @04:10AM
(#19460416)
does not load
Re:So you want your app/website to work in China
by swuecho on Friday March 22, 2019 @08:15AM
(#19461773)
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
by atoav on Friday March 22, 2019 @06:33AM
(#19461138)
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
by Elect2 on Thursday March 21, 2019 @08:52PM
(#19458785)
Google Analytics is OK. It doesn't affect performance very much.
Re:So you want your app/website to work in China
by zhte415 on Thursday March 21, 2019 @09:54PM
(#19459031)
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?
Re:So you want your app/website to work in China
by kbumsik on Friday March 22, 2019 @08:01AM
(#19461689)
I'm always surprised how Golang got so popular in China in such environments.
- 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