The Closure Compiler reduces the size of your JavaScript files and makes them more efficient
What is the Closure Compiler? The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes […]
Debounced resize() jQuery plugin for smart resize
If you’ve ever attached an event handler to the window’s resize event, you have probably noticed that while Firefox fires the event slow and sensibly, IE and Webkit go totally spastic. In IE, Safari, and Chrome many resize events fire as long as the user continues resizing the window. Opera uses as many resize events, […]
jQuery Tips and Tricks you Must Memorize – Performance
Storing Data Use data method and avoid storing data inside the DOM. Some developers have a habit of storing data in the HTML attributes like ex.: HTML attributes is not meant to store data like that and the “alt” as a parameter name does not really make sense. The right alternative in most cases is […]