How To Speed Up A Slow Loading Divi Website (Advanced Guide)


Have a slow Divi website?

Whether or not Divi is slow isn’t something I’m going to debate here (much). You’re already using Divi, so I wanted to provide you with solutions which are also found in the Divi Theme Users Facebook Group. If you’re not part of that Facebook group yet, you should really join. In addition, I added a few other solutions compiled over my 6 years of doing speed optimization.

The easiest way to speed up Divi is by fixing server issues in Divi’s system status, as well as using solid plugins, hosting, and an optimization plugin. After your infrastructure is fast, focus on the smaller tweaks. Lighthouse, GTmetrix Waterfall, and Query Monitor are your friends – use these tools to find out what’s slowing down your Divi site so you can improve load times.


1. Remove Unused CSS + JavaScript From Divi

Divi adds extra CSS and JavaScript throughout your website. So do plugins, fonts, and other assets. Sometimes, these assets load across your entire site even when they’re not being used.

By unloading unused assets, this removes unused code which improves CSS and JavaScript load times (an item in PageSpeed Insights). You can either use Perfmatters or Asset CleanUp for this.

I use Perfmatters since it’s more user-friendly and lets you disable assets “everywhere but posts” (good for things like social sharing plugins), but Perfmatters is a paid plugin ($25/year).

Choose a plugin then go to it’s script manager. You’ll see scripts/styles loaded on the page and options to disable them in certain places. Do this with assets that don’t need to load site-wide.

Disabling assets that are being used can break your Divi site – test carefully!

Divi Custom Script
Unloading assets in Asset Cleanup
Unloading assets in Perfmatters

Try disabling other scripts/plugins as well:

  • Disable contact forms everywhere but contact page
  • Disable social sharing plugins everywhere but posts
  • Disable table plugins everywhere but content with tables
  • Disable rich snippet plugins everywhere but content with rich snippets
  • Disable WooCommerce scripts/styles except on non-eCommerce pages
  • Disable fonts everywhere except certain areas (if you use multiple fonts)


2. Minify And Combine CSS + JavaScript

If you’re already using a cache plugin, it probably handles this already.

Otherwise, you can minify and combine CSS and JavaScript files in Divi’s settings. In WordPress, go to Divi → Theme Options → Minify And Combine Javascript + CSS Files.

Minify removes unnecessary characters from code. Combining files serves files in 1 request instead of multiple, although this can sometimes have a negative impact on speed (so test it).

Minify Combine CSS JavaScript Divi


3. Fix Errors In Divi’s System Status

Divi’s system status shows your server’s configuration.

Access the system status under Divi → Support Center → Show Full Report.

Depending on which host you’re hosting, your configuration may be different. Shared hosting doesn’t always let you change these while cloud hosting does. Upgrading to PHP 7.4 can significantly help speed up Divi. Otherwise, follow Divi’s recommendations and fix red errors.

Divi System Status

Writable wp-content directory – True (ensures compatibility with Divi).

PHP version – PHP 7.4 is the latest and fastest PHP version which you can update in your hosting account. If using SiteGround, their SG Optimizer plugin also lets you update PHP versions. And if you’re using SiteGround’s GoGeek plan, use Ultrafast PHP instead of PHP 7.4.

Memory-limit – increasing memory limit to 256MB is recommended by WordPress and WooCommerce. But it should really be done for every site especially if you’re getting fatal memory limit errors. You can do this in most (cloud) hosting accounts, or add the following to your functions.php file. Alternatively, contact your host and request to increase memory limit.

define('WP_MEMORY_LIMIT', '256M');

Post-max-size – 64MB is recommended by Divi. This is the maximum size a page or file can be. There is usually no reason you should come even close to this even if you have a large website.

Max-execution-time – Divi recommends 120. A lower number prevents things from hogging resources and lagging the server. A higher number is good for backups + long imports/exports.

Upload-max-filesize – 64MB is fine unless you need to upload something that takes a long time.

Max-input-time – 60 is fine unless you need to upload something that takes a long time.

Max-input-vars – 1,000 is fine unless certain plugins require a higher number.

Display-errors – should be 0.


4. Go Easy On Divi Plugins

Divi offers extensions to the actual builder.

It may be tempting to stay loyal to Divi, but some extensions are not lightweight. They’re not always modular either (modular plugins let you disable features based on what you’re using). Try to use modular plugins, test their load time impact, and don’t limit yourself to Divi plugins.

Find Your Slowest Plugins

Query Monitor lets you see your slowest loading plugins (P3 Profiler was also updated recently and seems to work now, but I would still use Query Monitor). Install Query Monitor, view a page on your Divi website, click the Query Monitor tab, and go to Queries → Queries By Component.

Query Monitor Slow Plugins

Common Slow Plugins

Some plugins are infamous for being slow. I would generally avoid statistic plugins, sliders, most portfolios, calendars, chat, related post, Wordfence, WPML, and plugins that run ongoing scans or processes. I haven’t tested all Divi plugins and whether or not they slow down your site, but I did create a list of general plugins that are infamous for being slow. Try to avoid them if possible.

  1. AddThis
  2. AdSense Click Fraud Monitoring
  3. All-In-One Event Calendar
  4. Backup Buddy
  5. Beaver Builder
  6. Better WordPress Google XML Sitemaps
  7. Broken Link Checker
  8. Constant Contact for WordPress
  9. Contact Form 7
  10. View Full List Of 65 Slow Plugins


5. Rethink Divi Hosting

Run your site through Google PageSpeed Insights to check your server response time, or use GTmetrix and KeyCDN’s Performance Test. Google recommends this should be under 200ms.

Short Server Response Time

Slow TTFBs are almost always the result of cheap shared hosting.

So why does Divi recommend SiteGround, Flywheel, and Pressable?

Neither of these hosts are great choices and I suggest you join the WordPress Hosting Facebook Group to get unbiased opinions that aren’t based on affiliates or paid partnerships.

In this group, you will come across Facebook polls on “the best WordPress hosting” and conversations from people who are more knowledgeable on it. It’s where the speed nerds are.

It’s not smart to run Divi (and most builders) or WooCommerce on shared hosting.

Divi Hosting

SiteGround – went downhill in 2020 with increased complaints about slower TTFBs, CPU limits, reduced support, price increases, high renewals, and Site Tools. Not nearly as fast as they used to be since migrating to Google Cloud. There is a large trend in Facebook Groups of people moving away from SiteGround since the value of their WordPress hosting is no longer worth it. Do a quick search in Facebook Groups for “SiteGround” and you will see numerous complaints. Additionally, Backlinko’s Page Speed report showed SiteGround had some of the worst TTFBs.

SiteGround Value

Flywheelacquired by WP Engine who is influenced by GoDaddy/EIG (do a little research or read their leadership team’s backgrounds). Arguably one of the better options out of the 3 choices in terms of speed but they only have a 3.2 star TrustPilot rating with many complaints (mostly about downtimes). If you want to keep your Divi website online, Flywheel isn’t for you.

Pressable – not a popular WordPress host. Although I haven’t tried them personally, they are rarely mentioned in Facebook Groups and not enough info is out there to determine whether they’re a good choice. Although they do have a 4.8 star TrustPilot rating, it may be hit or miss.


6. Reduce TTFB With Faster Cloud Hosting

Most people in the WordPress Hosting Facebook Group (including myself) swear by Cloudways, specifically their $10/mo DigitalOcean plan or $13/mo Vultr High Frequency plan.

Do your research and look at this thread (or this one).

Cloudways was #1 in multiple Facebook polls. There’s also a lot of people who have already moved away from SiteGround to Cloudways and have reported much faster page load times.

Cloudways makes it easy to test them out and see the difference in your load times: they do free migrations, monthly pricing, a Migrator plugin, and a promo code to save money: OMM25

People who moved to Cloudways and posted faster loads:

Cloudways Shoutout

Cloudways Response Times


SiteGround vs Cloudways Migration

Changed To Cloudways

SiteGround to Cloudways Migration

Cloudways Performance

Cloudways Google PageSpeed

Cloudways DigitalOcean Page Speed

WPEngine To Cloudways

Cloudways Pingdom Load Times

New Cloudways Server

Cloudways PageSpeed Scores

DigitalOcean Pingdom Report

WP Engine To Cloudways

Cloudways Love

Cloudways vs SiteGround Post

Godaddy DigitalOcean Migration

Cloudways Facebook Review

Recent Facebook polls show a large shift in people moving away from lower quality hosts (including SiteGround) to Cloudways, Kinsta, A2, and GridPane. Oh, how things have changed.

eCommerce Hosting Poll

Moving from SiteGround

Hosting Recommendation

Good managed WordPress host

SiteGround Alternatives

Elementor Hosting

Hosting Poll

SiteGround Alternative

Moving From WPX

Preferred Web Hosting

Favorite Web Hosting

Web Hosting France

VPS Cloud Hosting

Web hosting recommendations


Affiliate Disclaimer – if you sign up for Cloudways using my affiliate link, I would seriously appreciate it. I don’t recommend bad hosting like many other affiliates. I also donate quite a bit to charity ($6,000 to GoFundMe so far) and your support would really help. I try to base my reviews not only from my experience, but real evidence from the overwhelming feedback in numerous Facebook Groups. It would mean a lot.


7. Use Gutenberg With Divi Blocks

Gutenberg is more lightweight than Divi.

Start building your pages with Gutenberg and only add Divi Blocks when you need them. Some of the best WordPress speed experts offer services to remove page builders from sites by replacing them with Gutenberg blocks – it’s easier, cheaper, and faster to do this from the start.

Divi Blocks


8. Enable Static CSS File Generation

The static CSS file generation option means “custom design styles will no longer generate in-line CSS upon request and will instead serve static files that can be cached by the browser.”

This should be enabled by default, but it’s worth checking under Page Settings →  Advanced → Performance → static CSS file generation.

Elegant Themes says it’s compatible with most cache plugins, but this performance enhancement (as well as the others) have quite a long way to go to replace cache plugins.

Divi Static CSS File Generation


9. Optimize Images

There are quite a few ways to optimize images on your Divi site:

  • Properly size images – avoid huge images and resize them to correct dimensions.
  • Compress images – using a plugin like ShortPixel or TinyPNG to compress images.
  • Specify image dimensions – add a width/height to the image’s HTML. This can be done in WP Rocket → Media → add missing image dimensions (I don’t believe other plugins do this). Otherwise, view a few of your image’s HTML and make sure there’s a width + height.
  • Lazy load images  – can be done in most cache plugins or OptiMole is a great choice. Lazy load can also be applied to background images, iframes, videos, comments, and AdSense.
  • Serve images from a CDN  – make sure images are served from your CDN URL (e.g. instead of your domain. Cloudflare can’t do this while BunnyCDN, StackPath, and KeyCDN can. Serving images from a CDN should improve their download speeds for visitors who are far away from your origin server.

Most will appear in GTmetrix as errors if something needs to be fixed. However, GTmetrix only tests a single page, so make sure you run several important pages through GTmetrix to make sure most images are optimized. Images appearing on multiple pages should be optimized first.

Image Optimizations In GTmetrix


10. Optimize Google Fonts

There are also quite a few ways to optimize fonts:

  • Prefetch fonts when loading from (see #9)
  • View your GTmetrix Waterfall tab → Fonts to see how long they load.
  • Host fonts locally (using OMGF) to prevent requests from
  • Use a font-display plugin to prevent font shifting and improve CLS in Lighthouse.
  • Limit the number of font families, font weights, and font icons loaded on your site.
  • Preload fonts using WP Rocket, Perfmatters, or Pre* Party Resources Hints (see below).


For example, this pulls from (not hosted locally) with too many weights:

Divi Fonts


11. Optimize Third-Party Code

Third-party code is anything on your Divi site that creates requests from external sites.

These are shown in your Lighthouse report and most often from Google services (fonts, Analytics, AdSense, Tag Manager, Maps), embedded videos, Facebook Pixel, Gravatars, or even social sharing plugins. Use Lighthouse to check which third-party code loads on your Divi site.

Third Party Usage

Reducing Impact Of Third-Party Code

  • Lazy load videos and use preview images to eliminate YouTube requests.
  • Host Google Fonts locally to avoid creating requests to
  • Use the add-ons tab in WP Rocket to host Analytics + Facebook Pixel locally.
  • Host Gravatars locally using WP User Avatar to avoid requests from
  • Try Grow by Mediavine for social sharing buttons to prevent social media requests.
  • Delay loading third-party comment plugins (e.g. wpdiscuz), Gravatars, AdSense, and non-critical JavaScript in WP Rocket’s delay JavaScript execution setting (or Flying Scripts).
  • Prefetch third-party code (grab the domain from your Lighthouse report or see this list of common domains to prefetch) then add them to the prefetching option in WP Rocket. Alternatively, you can use Perfmatters or Pre* Party Resource Hints (see image below).

Prefetch DNS Requests


12. Choose A Solid Cache Plugin

WP Rocket, LiteSpeed Cache, and SiteGround’s SG Optimizer are all great choices.

I linked to tutorials to configure their settings (however, it’s ideal to test at least 2 and their different file optimization settings since cache plugins can react differently based on your site).

I personally use WP Rocket. Not only is it user-friendly, but it comes with many features other cache plugins don’t (resulting in more optimizations and less plugins needed to run on my site).

It’s also #1 in most Facebook Polls:

2016 best cache plugin poll

2019 cache plugin poll

Swift vs WP Rocket

2016 cache plugin poll

Best cache plugins 2018 poll

wp rocket vs w3 totla cache

Only use 1 cache plugin at a time, choose a good one, and spend time configuring the settings.


13. Stay Clear Of Heavy Animations

Animations can slow down Divi especially if it involves video.

Unless you’re a web designer and need a touch of fanciness, stay clear of animations. Animations causing slow load times has been reported multiple times in the Divi Theme Users Facebook Group already. I would also advise to stay away from sliders unless you need them.


14. Use A CDN

CDNs (content delivery networks) host your website’s file on multiple data centers around the world to deliver your content from the closest data center to your visitors. However, if you’re a local business serving local visitors, it might not make sense to use one. But, it is worth testing.

CDN Recommendations

  • Start with Cloudflare (free). Setup requires changing nameservers. Alternatively, some hosts have an option to activate Cloudflare’s CDN directly from your hosting account.
  • Login to your Cloudflare dashboard.
  • Create a page rule to cache everything.
  • Test Rocket Loader and other speed settings.
  • If Cloudflare has a negative impact on speed (it can), try Bunny CDN (paid).
  • Some cache plugins have CDN settings to ensure compatibility with the CDN.
  • Cloudflare requires changing nameservers to setup while other CDNs create a CDN URL which you will usually paste into your cache plugin (or Bunny CDN’s plugin if using that).

CDNs offload bandwidth to their data centers and lighten the load on your server. Most CDNs like Cloudflare have additional speed settings which can be tweaked for even faster load times.


15. Clean Your Database

Some WordPress speed plugins already let you clean your database.

But they don’t let you go through your actual plugin tables and delete tables left behind by old plugins. That’s why I like installing WP-Optimize once every few months, especially if I recently installed a plugin and decided to delete it. Otherwise, the plugin will leave behind old tables.

Install the WP-Optimize plugin and look for tables with “not installed” by them. These are plugins you installed but aren’t installed anymore. If you don’t plan on using them, delete them.

WP Optimize Tables


16. Use Server Level Caching

Server caching is faster than file-based caching done by cache plugins.

Some hosts like Cloudways, SiteGround, and Flywheel offer services like memcached, Redis, and Varnish. You should be using these! If you’re caching at a server level, make sure you disable caching in your cache plugin. For example, WP Rocket has a helper plugin to disable page caching. Since your host is already taking care of caching, you don’t want a plugin doing it also.

Hosting Application Services


17. Disable WordPress Heartbeat

The WordPress Heartbeat shows you when other users are editing a post and real-time plugin notifications. It creates a request every 15 seconds so it should generally be disabled or limited.

To disable the WordPress Heartbeat API on your Divi site, go to Appearance → Theme Editor, then edit the functions.php file of your theme. Next, paste the code right after the <?php tag:

Disable WordPress Heartbeat Manually

add_action( 'init', 'stop_heartbeat', 1 );
function stop_heartbeat() {

Alternatively, you can use plugins like WP Rocket or Heartbeat Control to disable Heartbeat.


18. Block Spam Bots

Bad bots are bots that hit your server with no benefit.

Google, Bing, and other crawlers are obviously good. But you would never know if bad bots are hitting your site unless you checked.

First, install Wordfence and view your live traffic report (delete this plugin when you’re done since it can cause high CPU in itself). View all bots hitting your server in real-time and look at their hostnames. For any spammy looking hostnames, Google them to see if other people have reported them as spam (here’s a helpful list). To block them, you can either use Cloudflare Firewall Rules (you can block up to 5 hostnames for free) or the Blackhole for Bad Bots plugin.

Live Traffic Report Wordfence

Moving your WordPress login page helps too since the default wp-admin and wp-login pages are easy ones to target. There are many plugins to move your login pages, such as Perfmatters.


Consider Other Page Builders

Yes, Divi is slow compared to other page builders.

Just because a few people posted their high scoring GTmetrix report with Divi, really doesn’t mean much. Sure, A scores are possible. But it doesn’t happen as frequently with other builders.

Oxygen Builder is arguably the fastest builder available. They have an Oxygen User Facebook Group. This video is from 2019 but does a great job in comparing the amount of bloat on Divi vs. Elementor vs. Beaver Builder vs. Oxygen. Since then, Elegant Themes claimed to make major performance enhancements to Divi, but Divi still isn’t faster than other builders like Oxygen.

Elementor is faster than Divi but it’s still not blazing fast. I use it and it’s the biggest thing slowing down my site, but it looks nice. Elementor and Astra Starter Sites are a solid combination if you want a good balance between great design, user-friendliness, and speed.


Heavy CSS and JavaScript files are often the result of using page builders:


View Source Code – go to your Divi website and view the source code to see how many times the word “Divi” shows up. This is a quick way to view how much bloat Divi adds to your website.


Did This Tutorial Help?

I hope it did. If you still have a slow Divi website or need help, drop me a comment with your GTmetrix report URL and I’ll get back to soon. And remember to join those Facebook Groups.

According to Facebook Groups, the most common ways to speed up Divi are by moving away from cheap, shared hosting, checking for PHP issues, and avoiding slow or conflicting plugins.



Notify of
Inline Feedbacks
View all comments