:)
Cdnjs - the missing cdn
21–30 of 79 posts
Re: Cdnjs - the missing cdn
#22Earlier quoted context omitted.
The idea is that users wouldn't have to download the same jquery or whatever script over and over for every site they visit. It makes less sense when it comes to not-so-popular script files, but I guess there's a convenience factor too.
Ok. So I didn't miss anything obvious. :-) This might have been handy back in the dial-up days, but not now. Now I see it as a security and stability risk.
Round trip time is especially important when you're loading several assets in a single page.
CDNs also often provide higher availability than you can provide yourself
Using someone else's CDN is considerably cheaper than serving resources yourself. e.g. Using jquery from google cdn. Bandwidth costs for "small" javascript files start to add up once you have 100 million people loading it each day.
Re: Cdnjs - the missing cdn
#23For every one of these CDNs you use, chances that people with scriptblockers will use your site goes down. When I see that a site tries to resolve scripts from 50 domains, for what should really just be static HTML, I generally leave. So please. Don't use CDNs. If you want people to trust you, host your own damn stuff on your own domain.
Re: Cdnjs - the missing cdn
#24Earlier quoted context omitted.
The same people who are doing the cdnjs have been planning do a CSS one as well, https://github.com/cdnjs/cdncss
Yep. We plan on launching the css component our our offering in the near future.
Re: Cdnjs - the missing cdn
#25For every one of these CDNs you use, chances that people with scriptblockers will use your site goes down. When I see that a site tries to resolve scripts from 50 domains, for what should really just be static HTML, I generally leave. So please. Don't use CDNs. If you want people to trust you, host your own damn stuff on your own domain.
Re: Cdnjs - the missing cdn
#26Ok, I'm not a developer and I'm probably missing the big picture or smth; my question: - All this fuss is about hosting a few text files none bigger than several KB?? Who in this world does NOT afford to host a few small files nowadays?
The advantage of sharing a CDN (as opposed to every site having it's own) is caching. If I visit website-a.com and they include jquery.js from cdnjs.com then I visit website-b.com that also uses the same file, I don't have to download it twice and website-b.com loads faster than if it served that file itself. That's the big win, IMO, but unfortunately depends on cdnjs having a high density of use. Even still, if you can shave a 100ms of the loading of your page that can matter.
Re: Cdnjs - the missing cdn
#27definitely missing ;)
Re: Cdnjs - the missing cdn
#28and here is the other 'missing' cdn that does the same thing and has been around longer: http://cachedcommons.org/ :)
Re: Cdnjs - the missing cdn
#29Re: Cdnjs - the missing cdn
#30For every one of these CDNs you use, chances that people with scriptblockers will use your site goes down. When I see that a site tries to resolve scripts from 50 domains, for what should really just be static HTML, I generally leave. So please. Don't use CDNs. If you want people to trust you, host your own damn stuff on your own domain.
You are in the vast minority. A tremendously small percentage of users will actually care about a non-issue like that.