Block Lazyloader

Component ID

1697730

Component name

Block Lazyloader

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

2066

Component created

Component changed

Component body

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

See Block Lazyloader Demo

Cached/No Cache

  • Cached: Loads cached block
  • No cache: Loads block content from database

Similar Projects

Sponsors

Promet Source, an Acquia Drupal partner company
Daniel Honrade, author