This plugin adds the loading attribute to IMG tags found when filtering the content to support lazy loading.. For more information about lazy loading images using this new image attribute, check out this article https addyosmani com blog lazy-loading and for little more depth into what we're doing here, check out our explainer post.. Historically, to limit the impact offscreen images have on page load times, developers have needed to use JavaScript to defer fetching these images until user scrolls near them. What if the browser could avoid loading these offscreen images for you.. The loading attribute instructs browser to defer loading offscreen images until users scroll near them. It comes in three flavors eager, auto, and lazy. Install this plugin and you can set the image's loading attribute and the loading attribute for all the subsequent images sent through the content in the plugin's settings page.. It just works in browsers that support the new loading image attribute.. For browsers that don't support this new image loading attribute, that's ok. You can still use whatever JavaScript-based loader you want as fallback until browser support becomes little more mainstream...
Read more