Speed Up Divi - Get the Divi Theme and Builder Passing Core Web Vitals (2026)
Divi is a full theme and visual builder in one, which means lots of features loaded on every page. Divi's built-in performance options help a lot, as long as you don't duplicate them in another plugin.
Why Divi Sites Get Slow
Divi's flexibility comes with weight:
- Large stylesheets and scripts covering every module.
- Nested sections, rows and modules, which build a large DOM.
- Animations, sliders and parallax effects that add JavaScript.
- Google Fonts loaded for many families and weights.
- Third-party Divi plugins and child themes adding their own assets.
Step 1: Use Divi's Performance Options
Divi's Theme Options include a Performance tab with features designed to load only what each page needs. Option names can vary between Divi versions, but they typically include:
| Option | What It Does |
|---|---|
| Dynamic module framework | Loads only the module code used on each page |
| Dynamic CSS | Generates CSS per page for the modules used |
| Critical CSS | Inlines above-the-fold styles and defers the rest |
| Dynamic JavaScript libraries | Loads scripts only when needed |
| Defer jQuery | Stops jQuery from blocking rendering |
| Improve Google Fonts loading | Optimizes and caches font loading |
| Disable WordPress emojis | Removes the emoji script |
| Defer block CSS | Defers Gutenberg block styles |
Most of these are worth enabling. Check Divi's documentation for your version's exact options.
Step 2: Avoid Doubling Up With WP Rocket
Divi and WP Rocket both offer CSS and JavaScript optimizations. Running the same job twice causes conflicts and makes troubleshooting harder.
| Job | Divi | WP Rocket | Our Suggestion |
|---|---|---|---|
| Page caching | No | Yes | WP Rocket (or your host) |
| Per-page CSS | Dynamic CSS | Remove Unused CSS | Pick one; test both on staging |
| Critical CSS | Critical CSS option | Load CSS Asynchronously | Pick one |
| Defer jQuery and scripts | Yes | Load JavaScript deferred | Pick one |
| Delay JavaScript until interaction | No | Yes | WP Rocket |
| Lazy loading | Limited | Yes | WP Rocket |
| Google Fonts | Improve fonts loading | Self-host Google Fonts | Pick one |
| Database and Heartbeat | No | Yes | WP Rocket |
A common, reliable setup is: Divi's dynamic framework and dynamic CSS on, WP Rocket for page caching, Delay JavaScript, lazy loading and database cleanup. If you prefer WP Rocket's Remove Unused CSS, turn off Divi's critical CSS to avoid overlap, then test carefully.
Step 3: Build Leaner Divi Layouts
- Fewer rows and sections. Combine content where possible instead of stacking many single-module rows.
- Avoid hidden duplicates for mobile and desktop; use responsive settings.
- Limit animations and parallax, especially above the fold.
- Use a static hero image instead of a slider or video background.
- Use the Image module for hero images where practical, so the browser discovers them in the HTML.
See reducing DOM size.
Step 4: Fonts and Icons
Divi sites often load several Google Fonts. Keep to one or two families and a few weights, and load them locally with Divi's font option or WP Rocket's Self-host Google Fonts. See self-hosting Google Fonts.
Divi Settings Worth Checking Beyond Performance
- Static CSS file generation: Divi can save generated CSS as files, which caches better than inline styles.
- Minify and combine options: Older Divi versions included these; if you use WP Rocket's minification, keep only one enabled.
- Google Fonts subsets: Limit character sets to the languages your site uses.
- Builder plugins and child themes: Divi marketplace plugins add their own CSS and JavaScript; remove those you don't use.
Divi and WooCommerce
Divi is often used to build stores with its WooCommerce modules. Product pages built in Divi can be heavy, so combine the Divi tips above with store-specific fixes: exclude the main product image from lazy loading, keep variation and cart scripts out of Delay JavaScript, and use object caching for logged-in customers. See speeding up WooCommerce.
Divi Hero Sections
Divi hero sections often use full-width backgrounds, parallax effects or video. These are some of the heaviest elements on a Divi page and usually decide LCP.
- Use a compressed image at a sensible size for mobile.
- Avoid parallax and video backgrounds above the fold on mobile.
- Keep text in the hero as real text, not baked into an image.
- Make sure the hero image isn't lazy loaded.
Testing Checklist for Divi Sites
- Header and mobile menu on several phones.
- Any section with animations, parallax or sliders.
- Contact forms and opt-in forms.
- Visual Builder still loads for logged-in editors.
- Pages built with the Theme Builder, such as blog and product templates.
- Clear Divi's static CSS cache and your plugin cache after changes.
Common Divi Issues After Optimization
Menu or mobile toggle stops working
Exclude Divi's menu scripts from Delay JavaScript.
Animations don't run
Their scripts are delayed. Exclude them or remove animations above the fold.
Unstyled flash on load
Critical CSS and another CSS optimization are overlapping. Use only one.
Builder doesn't load in the editor
Optimizations shouldn't apply to logged-in builder views; clear caches and check exclusions.
Layout differences after updates
Clear Divi's static CSS cache and your plugin's cache.
A Worked Example
A Divi agency site fails mobile LCP and INP. Divi's performance options are off, a full-width slider sits at the top of the homepage, and both a separate optimization plugin and Divi's critical CSS are active.
The owner removes the extra optimization plugin, enables Divi's dynamic framework and dynamic CSS, replaces the slider with a static hero image and uses WP Rocket for caching, Delay JavaScript with Divi exclusions, lazy loading and self-hosted fonts. LCP and INP improve into the good range on mobile.
Speed Up Divi FAQ
Is Divi slow?
Divi is feature-rich, which adds weight. With its performance options enabled and simple layouts, Divi sites can be fast.
Should I use Divi's critical CSS with WP Rocket?
Use one CSS optimization approach, not both. Either keep Divi's critical CSS or use WP Rocket's CSS delivery options.
Does WP Rocket work with Divi?
Yes. Use it for page caching, Delay JavaScript, lazy loading and database cleanup, and avoid overlapping Divi's own optimizations.
What Divi setting helps most?
The dynamic module framework and dynamic CSS, which load only what each page needs.