Drupal is a registered trademark of Dries Buytaert

partytown_drupal

1 sites No security coverage
View on drupal.org

NO LONGER MAINTAINED
This module is no longer maintained. All development efforts have shifted to a new project under a combined namespace. If you are looking for a way to integrate Partytown in Drupal, please visit this page.

This module implements Partytown, a lazy-loaded library to help relocate resource intensive scripts into a web worker, and off of the main thread. Its goal is to help speed up sites by dedicating the main thread to your code, and offloading third-party scripts to a web worker.

Partytown is developed by qwik.dev, and is considered beta-quality. This module will always try to use a stable release of Partytown when available.

This module is sort of a working proof-of-concept. It's still beta-quality, but it is usable for most cases.

Features

Partytown loads select page scripts using a locally hosted service worker. This enables you to load any scripts you want on a separate thread and clear up the main thread for page rending, HTML/CSS parsing, and other important jobs.

Post-Installation

After you install Partytown, you need only change the MIME type of the scripts you want Partytown to handle to:

<script type="text/partytown">...

Similar Modules

  • Serviceworker: a module that implements generic service workers for Drupal

Activity

Total releases
8
First release
Jun 2025
Latest release
4 months ago
Release cadence
17 days
Stability
88% stable

Release Timeline

Releases

Version Type Release date
1.0.6 Stable Oct 26, 2025
1.0.5 Stable Jul 18, 2025
1.0.4 Stable Jul 10, 2025
1.0.3 Stable Jun 30, 2025
1.0.2 Stable Jun 30, 2025
1.0.1 Stable Jun 30, 2025
1.0.0 Stable Jun 30, 2025
0.x-dev Dev Jun 27, 2025