Live data from Hacker News

Cdnjs - the missing cdn

cdnjs.com

11–20 of 79 posts

Re: Cdnjs - the missing cdn

#11
post #8
post #4

That's pretty awesome! I've always wondered why popular css grids weren't also CDN'd. Bootstrap, 960, etc, etc - it makes great sense to have many of these things cached across 100s of sites 1 time - instead of 100 times. Modify the cdn version in a seperate style sheet afterwards.

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

#14
post #6

Who pays for this ? How do I know you're not going to replace some of that javascript with malicious content ?

Cloudflare pays for this. They've been sponsoring cdnjs for around a year now. As for the security of our system, all javascript files are verified against official sources before going on the cdn. Additionally, we have many library maintainers submitting updates to their own libraries. Beyond that the only question remaining is our personal integrity. Like any relationship with a third party, you're going to have to…

I assume you are the creator of cdnjs - what are your relation with cloudflare beyond just the sponsorship? Are you working for them? Do you advise them?

I'm wondering what is the performance increase delivered by cloudflare. I've heard many mixed opinions and I'm at the interesection where I have to decide whether I'm using them or others.

btw - kudos to Cloudflare for sponsoring this - seems like a great way to put yourself in front of developers.

Re: Cdnjs - the missing cdn

#15
Ok, 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?

Re: Cdnjs - the missing cdn

#16

Earlier quoted context omitted.

Cloudflare pays for this. They've been sponsoring cdnjs for around a year now. As for the security of our system, all javascript files are verified against official sources before going on the cdn. Additionally, we have many library maintainers submitting updates to their own libraries. Beyond that the only question remaining is our personal integrity. Like any relationship with a third party, you're going to have to…

I assume you are the creator of cdnjs - what are your relation with cloudflare beyond just the sponsorship? Are you working for them? Do you advise them? I'm wondering what is the performance increase delivered by cloudflare. I've heard many mixed opinions and I'm at the interesection where I have to decide whether I'm using them or others. btw - kudos to Cloudflare for sponsoring this - seems like a great way to put…

We have a very good relationship with Cloudflare. See these releases by Cloudflare:

http://blog.cloudflare.com/cdnjs-community-moderated-javascr... https://www.cloudflare.com/apps/cdnjs

As for Cloudflare's speed, you can see cdnjs's average ping time as measured by pingdom here: http://stats.pingdom.com/4jg86a2wqei0/362854

Re: Cdnjs - the missing cdn

#17
post #15

Ok, 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?

It's more about client performance through using shared cache assets than cost. Though I always worry about someone at a supposedly secure system (online banking for example) thinking its a bright idea as well.

Re: Cdnjs - the missing cdn

#18
post #15

Ok, 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 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.

Re: Cdnjs - the missing cdn

#19
For 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

#20
post #18
post #15

Ok, 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 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.
Post reply on HN