vhllb
Security covered
This module provides an HTMX-powered alternative to the Views Ajax Lazy Load Blocks module.
It generates a copy of every Views block on your site that can be placed independently. These copies render a lightweight placeholder initially and then use HTMX (fully integrated into Core as of 11.3) to lazy load the heavy View content via an Ajax request when the block enters the viewport (using `intersect` trigger).
Why This Module?
- Performance: ideal for "Dashboard" pages with multiple heavy Views. The initial page load is fast because the heavy queries run in separate requests after the page loads.
- Modern Architecture: Uses native HTMX attributes (`hx-get`, `hx-trigger="intersect"`) instead of custom Drupal Ajax commands.
- Zero JavaScript: Removes the need for custom JavaScript files to handle the intersection observers; HTMX handles this natively.