Download jQuery via Google CDN or Amazon CloudFront. What's better?

After reading the answers on stackoverflow, I am convinced that I need to use CDN. But what's the point of using it, it's my concern.

I searched the web and could not find any information comparing usage statistics for Google CDN or Amazon CloudFront.

Share your impressions about the same.

+4
source share
4 answers

check this

6,953 reasons why I still let Google host jQuery for me

If you're still not sure, check out Google Trends.

Google CDN vs Amazon Cloudfront

now the ratio is 4: 1

+3
source

I would like to point out that adoption is a problem here, because if the browser has already visited the site using jQuery via CDN, this may lead to the pre-existing jQuery cache! even when they load your site for the first time! This, of course, is the best scenario.

Given this, I should recommend the Google CDN to increase the likelihood of a previous exposure.

+4
source

I found this article - CDN Performance: Downloading jQuery from Google, Microsoft, and Edgecast CDNs

The author simply mentions that there are some factors to consider.

  • User Location ↔ Internet Speed
  • The widely used CDN is BETTER ↔ Already cached
  • CDN Reliability

So, in accordance with these factors, I chose to use extended CDN in my region.

+2
source

This is a comparison of apples and oranges. Cloudfront does not have an open CDN for jQuery, it will be cached from your source server or bucket. On the other hand, Google’s CDN is a publicly available CDN and is more profitable as many users will cache jQuery.

+1
source

Source: https://habr.com/ru/post/1334633/


All Articles