Hacker News new | ask | show | jobs
by hkri 4940 days ago
Oh no! The apocalypse here!
1 comments

Not being a web-dev guy i've never really understood why people insisted in including libraries from 3rd-party website..

Ok, i get that you might have a cache hit for a visitor that has visited a site with that exact same resource included before, but other than that, what am i missing?

Compared to events such as this, i'd rather host it myself and when i'm down, nobody cares because i'm down anyways..

There are benefits to use a CDN, or one of the Google API hosting services. But yes, linking to a copy right on the jquery site, can't be encouraged.
There are so many reasons not to do this. The potential site reliability risk of relying on someone else's free CDN (page not loading/loading slowly) far outweighs the slight benefit of CDN acceleration. When you CloudFront/Akamai your content, you have some sort of SLA, but don't complain when Google pull shared library hosting as they have many other free services.