5 Performance Tuning Tricks for jQuery
Thursday, July 10th, 2008
In a recent post, I wrote that developers should better optimize their JavaScript. Well, that's easier said than done, so I'd like to get down to the nitty-gritty and talk specifically about optimizing jQuery. Please note that this is not about performance tuning of the jQuery library, rather it is about better engineering the code we use to interact with it. If you're not a jQuery programmer, and you have no interest in joining the fad, don't worry—most of the concepts here apply to JavaScript and general programming as well.
1. Beware of class-only selectors
A great part about using a JavaScript library like jQuery is its selectors. ... (more...)
