Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is a small helper module which will automatically lazyload all blocks for sites with multiple blocks, which will make the site load faster.
All blocks will only load when it's visible to the browser window.
Similar to Lazyloader but this time it's the block content.
Available Settings:
1) Enable/Disable
2) Block Content Class - your theme's block content class, ex. content, block-content, etc. (the content of this container will be lazyloaded)
3) Distance - block's distance from the viewable browser window before the actual block content loads
4) Loader Icon - animating icon (shamelessly borrowed from ajaxblocks module)
5) Excluded Blocks - blocks which will not use block lazyloader
6) Excluded Pages - page paths to be excluded from block lazyload