Re:JQuery now runs on every second website
by zalew on Monday August 13, 2012 @01:25PM
(#4376959)
especially when it's trivial to implement
[ Parent
| on HN ]
Re:JQuery now runs on every second website
by jfaucett on Monday August 13, 2012 @03:43PM
(#4377737)
Is it really that big of a perf hit to just download the minified and use it in your source like all other libs? jq isn't that big of beast, plus if you have a large site its cached for every other page visit :)
> if you have a large site its cached for every other page visit
until you modify your own js (not that rare and uncommon) and it's back new and shiny again. from the cdn, it's just already there sitting in the browser's cache.
> Is it really that big of a perf hit
maybe not, but if you had the option to wake up with your teeth already brushed, wouldn't you take it? :D
Re:JQuery now runs on every second website
by jQueryIsAwesome on Monday August 13, 2012 @04:20PM
(#4377929)
You don't need to use unescape in the fallback
if(!jQuery)document.write('<script src="jquery.js"></scrip'+'t>');