Hacker News new | past | comments | ask | show | jobs | submit login

30KB distributed by a free CDN with a high chance that it's already cached in the browser VS 4KB that probably have to be served by myself.

I am sorry, I probably would still go with the 30KB solution.




Might want to research whether or not there is really any benefit from using the CDN other than offloading the bandwidth and getting a (relatively small) chance at a cached solution. From a pure performance standpoint, concatenating/minifying on your own server is more performant in most cases.


jQuery might be directly cached but does that really matter? You could make the browser cache Minified.js after the first loading. And I'm pretty sure it's faster to parse / run a 4KB script than a 30KB script.


> And I'm pretty sure it's faster to parse / run a 4KB script than a 30KB script.

That's always a dangerous assumption to make. I can guarantee you that size has nothing to do with parsing and running times. As others have already pointed out, this library is already less performant than jQuery for their needs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: