Web Worker Offloading
Offloads select JavaScript execution to a Web Worker to reduce work on the main thread and improve the Interaction to Next Paint (INP) metric.
Solid choice
Web Worker Offloading is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10K+ sites, is rated 3.5/5 and was last updated 3 months ago, and scores 66/100 on our health check.
- Proven at scale on 10K+ active sites
- Tested with the latest WordPress (7.1)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Web Worker Offloading stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| analytics | >100 |
| javascript | #76 |
| partytown | #1 |
| performance | #89 |
| web worker | #2 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 3.5 from 2 reviews
About Web Worker Offloading
From the official readme · v0.3.0Description
This plugin offloads JavaScript execution to a Web Worker, improving performance by freeing up the main thread. This should translate into improved Interaction to Next Paint (INP) scores.
⚠ This functionality is experimental, and it is now intended to be sunset. ⚠
In order to opt in a script to be loaded in a worker, simply add worker script data to a registered script. For example,
if you have a script registered with the handle of foo, opt-in to offload it to a web worker by doing:
wp_script_add_data( 'foo', 'worker', true );
Unlike with the script loading strategies (async/defer), any inline before/after scripts associated with the worker-offloaded registered script will also be offloaded to the worker, whereas with the script strategies an inline after script would block the script from being delayed.
Otherwise, the plugin currently ships with built-in integrations to offload Google Analytics to a web worker for the following plugin:
Please monitor your analytics once activating to ensure all the expected events are being logged. At the same time, monitor your INP scores to check for improvement.
This plugin relies on the Partytown 🎉 library by Builder.io, released under the MIT license. This library is in beta and there are quite a few open bugs.
The Partytown configuration can be modified via the plwwo_configuration filter. For example:
<?php
add_filter( 'plwwo_configuration', function ( $config ) {
$config['mainWindowAccessors'][] = 'wp'; // Make the wp global available in the worker (e.g. wp.i18n and wp.hooks).
return $config;
} );
However, not all of the configuration options can be serialized to JSON in this way, for example the resolveUrl configuration is a function. To specify this, you can add an inline script as follows.
<?php
add_action(
'wp_enqueue_scripts',
function () {
wp_add_inline_script(
'web-worker-offloading',
<<<JS
window.partytown = {
...(window.partytown || {}),
resolveUrl: (url, location, type) => {
if (type === 'script') {
const proxyUrl = new URL('https://my-reverse-proxy.example.com/');
proxyUrl.searchParams.append('url', url.href);
return proxyUrl;
}
return url;
},
};
JS,
'before'
);
}
);
There are also many configuration options which are not documented, so refer to the TypeScript definitions.
Changelog
0.3.0
Enhancements
- Add
declare( strict_types = 1 )to all PHP files. (2424) - Bump minimum required WordPress version to 6.9. (2517)
- Bump minimum required PHP version from 7.2 to 7.4. (2469)
- Improve code quality with native property types and stricter static analysis. (1729)
0.2.1
- Intend to sunset. (2404)
0.2.0
Enhancements
- Integrate Web Worker Offloading with Google Site Kit. (1686)
- Integrate Web Worker Offloading with Rank Math SEO. (1685)
- Serve unminified scripts when
SCRIPT_DEBUGis enabled. (1643)
Bug Fixes
- Fix tracking events like add_to_cart in WooCommerce integration. (1740)
0.1.1
Enhancements
- Add Web Worker Offloading meta generator. (1598)
0.1.0
- Initial release.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Web Worker Offloading alternatives
All analytics plugins →FAQ
Web Worker Offloading: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Web Worker Offloading free?
Yes. Web Worker Offloading is free to download and use from the official WordPress.org plugin directory.
Is Web Worker Offloading safe to use in 2026?
Web Worker Offloading is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10K+ sites, is rated 3.5/5 and was last updated 3 months ago, and scores 66/100 on our health check.
How many websites use Web Worker Offloading?
Web Worker Offloading is active on 10K+ WordPress websites and has been downloaded 104,589 times since it launched in October 2024. It was downloaded 2,753 times in the last 30 days.
Does Web Worker Offloading work with WordPress 7.1?
Yes. The developer has tested Web Worker Offloading up to WordPress 7.1.5, the latest release. It requires WordPress 6.9 or newer.
What PHP version does Web Worker Offloading need?
Web Worker Offloading requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Web Worker Offloading last updated?
The latest version, 0.3.0, was released on August 26, 2026 (3 months ago).
Who makes Web Worker Offloading?
Web Worker Offloading is developed and maintained by WordPress Performance Team.
What are the best alternatives to Web Worker Offloading?
The most popular alternatives to Web Worker Offloading are Site Kit by Google (5M+ installs), MonsterInsights (2M+ installs) and WP Statistics (500K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
