News for hackers. Stuff that matters.
Re:Bootstrap-switch by RaphiePS on Sunday August 11, 2013 @12:03AM (#6193789)
I could be wrong, but if you use a CDN, won't jQuery be already cached for 99% of users? I can definitely imagine that filesize is an issue with less popular frameworks, but I'd wager that it really doesn't matter with jQuery.

If anyone has statistics on this, I'd love to see them!

Re:Bootstrap-switch by shadeless on Sunday August 11, 2013 @10:27AM (#6195025)
You're in fact wrong, the chance that users will have exactly the same version of jQuery cached is pretty small. [1] If you want to read more about jQuery on cdns, there is a long discussion on html5boilerplate github page. [2]

[1] http://statichtml.com/2011/google-ajax-libraries-caching.htm...

[2] https://github.com/h5bp/html5-boilerplate/pull/1327

Re:Bootstrap-switch by RaphiePS on Sunday August 11, 2013 @07:04PM (#6196705)
Well dang, thanks for pointing out my error and providing sources to back it up.