4 ms·
In my opinion Google Hosted Libraries[1] are the best way to go if you're serving "big" commonly used JavaScript libraries to folks. One of the major upsides i
by pearkes 13y ago
In my opinion Google Hosted Libraries[1] are the best way to go if you're serving "big" commonly used JavaScript libraries to folks.
One of the major upsides is that it's so heavily used, that a user probably already has it cached in their browser. At least that's the idea, not sure of actual numbers.
[1]: https://developers.google.com/speed/libraries/devguide https://developers.google.com/speed/libraries/devguide
- josteink 13y agoAnd we add another nail in the "decentralized" web's coffin and give Google even more data. Hosting a 32kb library yourself shouldn't be that hard in the days of 50mbps+ LTE mobile internet.
- darklajid 13y agoI agree with this sentiment. For development purposes ('grab the latest version, from Google because it's convenient') I'd go with Google, for a production deployment not so much.
- Already__Taken 13y agoI agree with you but to pull number out of thin air. I would honestly be surprised if 50mbps+ LTE mobile internet is even 1% of the connected internet.
- serge2k 13y agolatency?