Re:I Turned Off JavaScript for a Week
by Guest192038 on Thursday November 19, 2015 @03:52AM
(#10593556)
Keep in mind Google is blocked in China, so if you include jQuery from Google, it's not going to work for over a billion people.
Re:I Turned Off JavaScript for a Week
by RobotCaleb on Thursday November 19, 2015 @04:22AM
(#10593650)
Is it really fair to include the total population of China in this statement?
Re:I Turned Off JavaScript for a Week
by TeMPOraL on Thursday November 19, 2015 @04:28AM
(#10593673)
As someone who currently lives and works in China, fuck yes. If you must, cut it down to the 1% that speaks English and thus has a reason to visit foreign sites, and you're still pissing off over 10 million people. Not to mention poor foreigners like me who try to get some work done here.
Re:I Turned Off JavaScript for a Week
by Guest192038 on Thursday November 19, 2015 @06:09AM
(#10594091)
Yes, it's fair, because many developers live in a little bubble. The United States, Canada, Australia, Russia and all of Europe combined is only 15% of the world's population.
You can argue the other 85% doesn't have internet access or isn't your target audience. However, I run a site that's geared to the US market, it's entirely in English, and 12k of my registered users are from China (1.5%). If I included files from the Google CDN, I'd be losing 1.5% of my users due to one line of code.
As for including jquery from google, of course and for good reasons, even from the user's perspective. The main one, of course is that chances are that your browser already has it cached (from other site that uses it), so retrieving it and loading it is (almost) instant.