3 ms·
I'd like to look deeper into this option. I didn't mention it in the article, but @jo_liss suggested hosting all assets on CloudFront in production. She points
by DanielKehoe 14y ago
I'd like to look deeper into this option. I didn't mention it in the article, but @jo_liss suggested hosting all assets on CloudFront in production. She points out that you can set up CloudFront and get your own content-delivery network in five minutes. Once you have your own CDN, there's no advantage to using any 3rd-party JS host.
- jwilliams 14y agoThat's somewhat true. However, using Google does have an advantage over your own CDN -- it's more likely to already be cached in someone's browser. On these occassions the hit to download JQuery (or something big like JQueryUI) is zero. This is more a consideration for a landing page than a heavy-use application though.