Javascript Fast (and slow) way to append elements in DOM JQuery is a no doubt powerful tool for front-end developers because of the way it makes the task of handling DOM easier, but it does not alleviate the responsibility of ensuring that your
Javascript Detect if document is ready in pure JavaScript While JavaScript does provide the load event for executing code when a page is rendered, this event does not get triggered until all assets such as images have been completely received. In most
Performance Prebrowsing to supercharge web performance “Prebrowsing” or “predictive browsing” is simply loading a file before browser needs it, to provide a fast and instant user experience. Of course its not just loading any random file. The thing is
Javascript Measuring JavaScript performance with console.time() Every now and than almost every developer has to deal with optimizing performance critical code. This article will show how to use a debugging method, more specifically one for measuring execution times. Measuring
Javascript requestAnimationFrame - The secret to silky smooth JavaScript animation JavaScript animation can be handled a number of ways. If you’ve ever tried to do it, you’ll most likely have used either the setTimeout() or setInterval() functions to adjust styling every couple milliseconds.
Javascript Layout thrashing is killing the performance of your web application Layout Thrashing occurs when JavaScript violently writes, then reads, from the DOM, multiple times causing document reflows and then web browser has to repaint the web page, which causes significant delay when loading