News for hackers. Stuff that matters.
Re:JQuery by corobo on Tuesday April 07, 2015 @12:43PM (#9335277)
Do you have any examples or writeups to hand where rewriting jQuery functions ended up in a faster site?

Specifically in cases where other optimizations (caching, beefier servers, faster SQL, SSDs vs HDDs, etc) didn't help more?

Re:JQuery by vorotato on Tuesday April 07, 2015 @01:43PM (#9335713)
Beefing up the server cannot improve client side code. Jquery is quite slow, nice, but quite slow. Sometimes writing out those 8 lines can make your code literally 400 times faster.(source : http://vanilla-js.com/) So yes if performance is a concern, you might want to look at writing it yourself.
Re:JQuery by corobo on Wednesday April 08, 2015 @06:12AM (#9339710)
Very good point, I'd not really considered the lower end spec'd machines, was more thinking overall page load times and the likes. Thanks :)
Re:JQuery by Aldo_MX on Tuesday April 07, 2015 @01:08PM (#9335477)
So if I buy a beefier server, my users with a netbook (ca. 2007) will feel a responsive[1] website?

[1] Responsive as in "Mozilla Firefox is not responding", not as in "Responsive Design".

Re:JQuery by corobo on Wednesday April 08, 2015 @06:12AM (#9339708)
Good point, not well made. Thanks for the response.