24 ways: Speed Up Your Site with Delayed Content
Popular articles accumulate hundreds of comments, each with a Gravatar avatar image that creates a separate HTTP request, significantly slowing page load times. Hammond proposes removing avatar images from the initial HTML and storing their URLs in HTML5 data attributes, then using JavaScript to insert the images only after the page fully loads, reducing rendering time from over three seconds to under one. This technique generalizes to any non-critical images that can be deferred, allowing important content to display quickly while peripheral elements load in the background.