Drupal is a registered trademark of Dries Buytaert

lazy_iframe

43 sites Security covered
View on drupal.org

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.

Activity

Total releases
6
First release
Jul 2025
Latest release
6 months ago
Release cadence
6 days
Stability
83% stable

Release Timeline

Releases

Version Type Release date
1.2.0 Stable Aug 11, 2025
1.1.2 Stable Jul 18, 2025
1.1.1 Stable Jul 15, 2025
1.1.0 Stable Jul 14, 2025
1.0.0 Stable Jul 11, 2025
1.0.x-dev Dev Jul 11, 2025