Divi SpeedWorks
Lightweight WordPress plugin for Divi 4 speed optimization — built-in enqueue fixes, a per-site fix manager, and a Theme Builder CLS fix, all controlled from Settings → Divi SpeedWorks.
by josefresco · github.com/josefresco/divi-speed-works · website
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/josefresco/divi-speed-works/releases/download/v1.1.0/divi-speedworks-1.1.0.zipReadme
Divi SpeedWorks
A lightweight WordPress plugin that applies safe, toggleable performance fixes for Divi 4 sites. No configuration required to get value, but every fix can be turned off individually if it conflicts with your theme or another plugin.
Requirements
- WordPress 5.6+
- PHP 7.4+
- Divi 4.x (parent theme or child theme)
Installation
- Download this repository as a ZIP (Code → Download ZIP), or clone it.
- Rename the extracted folder to
divi-speedworksif needed. - Upload it to
wp-content/plugins/(or install via WP Admin → Plugins → Add New → Upload Plugin). - Activate. Tier 1 fixes and Divi performance settings apply automatically on activation — no further setup needed.
What it does
Tier 1 — Built-in fixes (on by default)
Hardcoded, safe-for-any-Divi-4-site enqueue fixes:
- Removes the duplicate parent/child CSS enqueue some child themes trigger via
dc_enqueue_styles() - Removes WordPress core's global-styles output (not used by the Divi builder)
- Dequeues unused Gutenberg block-library CSS (
wp-block-library,wp-block-library-theme,global-styles,classic-theme-styles) - Dequeues the Divi builder-only
et-core-commonscript from the frontend
Alongside these, the plugin applies six well-established Divi performance settings on activation (static CSS file generation, deferred scripts, lazy load, disabled emoji script, deferred Gutenberg CSS, limited legacy Google Fonts).
Tier 1 — CLS fix
Divi's Theme Builder injects template CSS into the page body instead of the head, which causes layout shift under throttled network conditions. This plugin moves those style blocks into <head> before the page is sent to the browser, eliminating the shift. Works for any Theme Builder template.
Tier 2 — Per-site enqueue fixes
A simple list of additional dequeues (a plugin script, a theme stylesheet, etc.) you don't need on every page. Managed entirely from the settings page — add a fix, remove a fix, save.
Settings
Everything above is controlled from WP Admin → Settings → Divi SpeedWorks:
- Checkbox per Tier 1 fix (including the CLS fix) to enable/disable it for this site
- A table of current Tier 2 fixes with remove buttons
- A small form to add a new Tier 2 fix (dequeue a style/script handle, or remove a specific
add_actionhook)
No REST API, external service, or account is required — this plugin is entirely self-contained.
Advanced: pre-seeding Tier 2 fixes
If you're deploying to many sites with the same known fix, you can pre-fill site-config.php with an enqueue_fixes array before activating the plugin; it's applied automatically on activation. It ships empty by default — see the comments in that file for the supported fix shapes.
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.1.0 | Jul 29, 2026 | divi-speedworks-1.1.0.zip | 0 |