Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Partytown Drupal

No security coverage Drupal 10–11
View on drupal.org

This module integrates Partytown into Drupal, a library that helps improve site speed by offloading resource-intensive scripts to a web worker, freeing up the main thread. You can enable this by changing the MIME type of scripts to "text/partytown".

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

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
8
Tracked since
Jun 2025
Latest release
10 months ago
Releases (12 mo)
1 ▼ from 7
Maintenance
Slowing

Release Timeline

Releases

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