Mobile app version of vmapp.org
Login or Join
Goswami781

: Is it common, or "smart", for high-traffic sites use externally-hosted js/css frameworks? Many popular JS/CSS frameworks are offered via Google's Libraries API (jQuery, Dojo, MooTools etc.). Yahoo

@Goswami781

Posted in: #Google #Jquery #WebHosting #Yahoo

Many popular JS/CSS frameworks are offered via Google's Libraries API (jQuery, Dojo, MooTools etc.). Yahoo also hosts it's own YUI toolkit, as do many others.

Do any high volume/traffic sites actually rely on these externally-hosted resources (without hosting their own copies)? It seems like a great service to leverage, although in my experience I've often encountered these libraries packaged along with the projects I've worked on.

What's the most common practice here? Moreover, is it safe and reliable (based on experience) to use these externally?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Goswami781

2 Comments

Sorted by latest first Latest Oldest Best

 

@Lengel546

Check BuiltWith.com's Web Technology Trends & HTTPArchive website's stats for metrics on usage of external libraries & services.

As per BuiltWith.com, 2,146,587 websites use Google's AJAX Libraries API. This includes 169,454 websites within the most visited sites on the internet and an additional 1,977,133 websites on the rest of the web.

According to HTTPArchive.org, 17% of Alexa Top 1,000,000 Sites(?) use Google Libraries API

Decreased latency, increased parallelism & better caching are some benefits of using popular libraries offered by reliable providers.

There are ways to manage failover in case of service outage.

10% popularity Vote Up Vote Down


 

@Bryan171

It is quite common, and for high traffic websites certainly using a Content Delivery Network is sound advice, it takes the strain off your main server whilst making sure users get static content quickly.

There is the added benefit that if I visit site A that uses say the Google hosted jQuery and then visit site B that does the same, I will have cached it from site a and will not need to download it again.

The downside is that you are relying on other networks having the same uptime you do, the Amazon outages have proved that nothing has 100% uptime.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme