Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views Ajax Lazy Load Blocks

Security covered Under active development 90 sites

This module creates separate Ajax-enabled copies of your Views blocks that load after the initial page render. This prevents performance issues on pages with many data-intensive Views blocks.

This module adds a copy of your Views-generated blocks that can be placed into your page instead of the Views-generated ones; these new blocks load via Ajax (not the Drupal Core lazy-load methodology*) when the view content has been rendered. This enables you to include a lot of data-intensive Views blocks on your page without crashing your site when you land on an uncached page.

The use-case that spawned this module was a "dashboard" page with 20+ Views-generated blocks. Each block display had two attachments (see https://www.drupal.org/project/views_attachment_tabs) and presented about 400 rows of data (per attachment) in a Chart (see https://www.drupal.org/project/charts). Without this module, the initial visit to this page would stall. Now, it loads rapidly.

* This module does not use Drupal Core's lazy-load feature because that feature requires BigPipe to be enabled, and our hosting environment does not allow us to use BigPipe.

Drupal 10–11

Ask your assistant about Views Ajax Lazy Load Blocks

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
May 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.2 Stable 10–11 Aug 7, 2024
1.0.1 Stable 10–11 Aug 7, 2024
1.0.0 Stable 10–11 Jun 24, 2024
1.0.x-dev Dev 10–11 May 2, 2024