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.
Choix solide
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.
- Prouvé à grande échelle sur plus de 10 000 sites actifs
- Testé avec le dernier WordPress (7.1)
- Très peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Web Worker Offloading stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| analytique | >100 |
| Javascript | #74 |
| partytown | #1 |
| performance | #89 |
| web worker | #2 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★★★★★★ 3.5 from 2 reviews
About Web Worker Offloading
À partir du Lisezmoi officiel · 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.
Journal de modifications
0.3.0
Améliorations
- Ajoutez
declare( strict_types = 1 )à tous les fichiers PHP. (2424) - Bump Minimum requis WordPress Version à 6.9. (2517)
- Bump minimum requis Version PHP de 7,2 à 7,4. (2469)
- Améliorez la qualité du code avec des types de propriétés natives et une analyse statique plus stricte. (1729)
0.2.1
- Intend to sunset. (2404)
0.2.0
Améliorations
- 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)
Correction de bugs
- Fix tracking events like add_to_cart in WooCommerce integration. (1740)
0.1.1
Améliorations
- Add Web Worker Offloading meta generator. (1598)
0.1.0
- Version initiale.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Web Worker Offloading alternatives
Tous les plugins d'analyse →FAQ
Web Worker Offloading: quick answers
Réponses directes, extraites des données en direct WordPress.org.
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,208 times since it launched in October 2024. It was downloaded 2,673 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).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
