Skip to content

WordPress Divi performance issues: what actually helps

A Divi-built WordPress site can hit Core Web Vitals targets, but only with a specific set of toggles and a discipline most agencies never enforce. The honest performance pass.

A WordPress Divi site that loads in 6 seconds is the default. A Divi site that loads in 2 seconds takes deliberate work — there are about a dozen toggles and a discipline most agencies do not impose during the initial build. The list below is the honest version of what helps and what is performance theater. It is based on running Divi sites under managed WordPress operations and watching what survives a Lighthouse audit and what does not.

What’s happening

Divi renders pages from a JSON shortcode tree stored in post_content. Every module is a shortcode that emits HTML, dozens of inline CSS classes, and module-specific JavaScript handlers. By default Divi loads the entire core CSS bundle, the entire JS bundle, jQuery, Magnific Popup, and a hefty Google Fonts payload on every page. Each module further injects inline <style> blocks for per-element customization. On a moderately customized page, this produces 800 KB to 1.2 MB of CSS and JS before any third-party scripts join the cascade. Divi 4.10 introduced built-in performance toggles, but they ship off, and most agencies never enable them.

How to verify

Measure before you start:

curl -sI https://example.com/ | grep -iE 'content-encoding|cache-control'
curl -s https://example.com/ -o /tmp/divi.html
wc -c /tmp/divi.html
grep -oE 'href="[^"]+\.css' /tmp/divi.html | sort -u | wc -l
grep -oE 'src="[^"]+\.js' /tmp/divi.html | sort -u | wc -l
grep -oE '<style[^>]*>' /tmp/divi.html | wc -l

Run PageSpeed Insights against three representative pages — homepage, a content page, a contact page. Note the LCP, CLS, and “Reduce unused JavaScript” entries. A baseline Divi site will show 1.5-2.5 MB of unused JS and an LCP between 4 and 6 seconds on mobile. Capture this number — it is your starting point.

The fix

The toggles that actually move the number, in order of return on effort:

  1. Divi → Theme Options → Performance. Turn on every one of: Dynamic CSS, Dynamic Module Framework, Dynamic Icons, Critical CSS, JS Deferred and Inline Loading, Improved Google Fonts Loading, Load Dynamic Stylesheet In-line, Limit Google Fonts subsets to Latin (and Cyrillic only if you actually need it). These eight toggles together cut bundle weight by 50-60% on a typical page.
  2. Static CSS file generation. Under Theme Options → Builder → Advanced, ensure “Static CSS File Generation” is on. Divi will then write per-page CSS files instead of inlining them.
  3. Use the Performance section of the Divi Theme Options to disable Google Fonts entirely if your design uses self-hosted fonts. Self-host the two or three weights you actually use. Most Divi sites load 8-12 font weights they never display.
  4. Caching. Add WP Rocket, FlyingPress, or LiteSpeed Cache (if on a LiteSpeed server). Page caching, CSS minification, and JS deferring are the next 20-30% gain. Do not enable file combination — modern HTTP/2 makes it net-negative.
  5. CDN with image transformation. Cloudflare Polish or Bunny Optimizer convert Divi’s default JPEGs to AVIF/WebP at the edge. Divi does not do this natively.
  6. Audit the global modules. If every page on the site uses a global header module that loads a video background, every page pays that cost. Move the video to the homepage only.
  7. Replace the Contact Form module with a lighter alternative (Fluent Forms, WPForms Lite). Divi’s contact form loads jQuery validation, reCAPTCHA, and a dozen handlers — a single Fluent Form is 50 KB.

After applying these, re-measure. A site that started at 4.5s LCP typically lands at 2.0-2.5s. Below 2 seconds requires moving off Divi for the LCP path itself, which is a larger conversation — one we routinely have during WordPress hosting onboarding.

For Divi sites where the performance gap has become a sales-cycle problem, Stack Harbor runs a one-pass tuning under WordPress operations and documents what survives the next theme update. Book a WordPress consult if your Divi site needs to clear Core Web Vitals before a campaign launch.