Drupal BigPipe Experiments with HTMX

Drupal BigPipe Adopts HTMX for Faster Page Loads and Smaller Frontend Footprint

Source: Drupal BigPipe Now Uses HTMX by Théodore Biadala (July 17, 2025)

Théodore Biadala has begun testing an HTMX-based frontend implementation inside Drupal’s BigPipe module. BigPipe, introduced in 2016, improves perceived performance by streaming cached content immediately and filling placeholders as they’re ready. Until now, it relied on simulated Ajax requests and Drupal’s Ajax framework, which requires ~40.7KB of compressed JavaScript. The new HTMX approach reduces that to ~21.2KB.

Biadala frames this as part of a longer-term effort to replace Drupal’s aging Ajax framework with HTMX and move closer to HATEOAS principles by keeping state in the DOM. He notes that BigPipe is a particularly difficult use case for HTMX integration—no Ajax requests, no HTMX events, and work happens before DOMContentLoaded. Still, it provides a useful test case for evaluating HTMX inside Drupal core. Developers interested in contributing can follow the related core issue or join the #htmx channel.

Reference: Drupal BigPipe Now Uses HTMX (17 July 2025)

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Upcoming Events

Latest Opportunities