5 ms·
I believe the main problem with googles cdn is it can prevent Chinese users from visiting your site
by dpkrjb 11y ago
I believe the main problem with googles cdn is it can prevent Chinese users from visiting your site
- vosper 11y agoI would imagine it's China that's preventing Chinese users from visiting your site, not Google?
- ybx 11y agoYes, but the end result is the same
- alextgordon 11y agoI guess, but if you go to the trouble of localising your website into Chinese, then loading a self-hosted version of the library for Chinese users doesn't seem like much extra work.
- everfree 11y agoThis can be solved through the use of a local fallback if the request to the Google CDN returns 404.
- robocat 11y agoNeeds 1 or more of: Handling out-of-order js file loading Duplicate loading prevention A way to deal with a file that is timing out (holding up page load) Ideally using async property for script tags AFAIK most CDN versions of popular libs don't support what you need, so you might as well load locally...