Adds lazy loading to iframes to improve page performance. Automatically adds loading="lazy" to all iframes on your site, ensuring they only load when they enter the viewport. This reduces initial page load time and saves bandwidth.

Features

Automatically adds loading="lazy" to all iframes.

Works with any iframe, including embedded videos, maps, and other third-party content.

Lightweight and requires no configuration after installation.

Improves page performance and Core Web Vitals scores.

Post-Installation

No configuration needed! The module works automatically after enabling.

All iframes on your site will have the loading="lazy" attribute added unless they already have a loading attribute.

Additional Requirements

None. Works with Drupal core only.

None required, but works well with other performance modules like "Lazy-load" for images.

Supporting organizations: 

Project information

Releases