Your Divi website will have cached versions of your pages stored so that your website can load faster.

Serving pages from a Divi cache means that static pages are loaded without having to access them dynamically from your database. This means your website can load faster.

Cached pages can take some time to refresh and may mean changes made to your website in the backend may not reflect on the live website. This is one of the reasons you may need to clear your Divi cache.

This post will explain how and why to clear caches in Divi and WordPress.

What is a Divi Cache?

A Divi cache is a way to store temporary static files or web pages to serve users rather than dynamically generated pages. Caches are used by Divi, browsers, plugins, and CDNs so that your website takes less time to access the database and so loads faster for your visitors.

Cache works the very first time you visit a site. You may have noticed the site loads slower on the first visit, but the later visits are generally faster, meaning that Cache is loading site resources from local storage rather than downloading them again to the browser from the server.

Caches offer a lot of benefits, including:

  • Make everything run faster
  • Reducing data use

Disadvantages of caches include:

  • Can stress systems that lack storage space
  • If a web page is updated, the cache can prevent the site/app from loading the changes.
  • Caches can corrupt, leading to misbehavior and errors.

Why do you need to clear the cache in Divi & WordPress?

WordPress and Divi sites are also prone to cache issues. Despite the cache’s benefit of improved performance, it also poses many issues, including malfunctioning, blocking sites not to display updated sites, and causing errors due to corrupted caches.

The solution to all of these is to “clear the cache.”

And that’s why you need to clear cache in WordPress and Divi if you are having problems including, but not limited to:

  • Made changes to the site, and the changes are not showing on the live website
  • Suddenly, the site is acting differently and is not loading properly.

The good news is that you can quickly clear the cache and the easiest way to clear the cache is by going to the respective application settings.

Let’s now go through the steps to clear the cache in WordPress and Divi.

How to clear the Divi cache

As for Divi, you need to take care of the extra few steps to clear the cache and that of the above steps for WordPress.

The steps to clear the Divi cache are as below.

  1. Go to Divi >> Theme Options
  2. Now select “Builder” and then “Advanced”
  3. From there, you need to click the clear button.
  4. The Cache should be cleared.

clear the cache in Divi

Divi themes take a different approach when it comes to handling appearance. It utilizes Cascading Style Sheets(CSS) and creates static CSS file generation for the Divi Theme Customizer, Divi Builder, and Divi Theme Options. By doing so, your theme will only generate CSS in the static file, and no in-line CSS is generated. And that’s why you need to clear Divi Static CSS File Generation.

How to clear all caches in WordPress?

As mentioned earlier, the cache is stored with the application. Before we try to clear the cache, let’s learn about the cache types and how to clear them.

Browser Cache and How to Clear It

The browser has its own caching mechanism. Suppose you are running the browser on your computer or phone’s local storage. Browsers are smartly coded, and with the help of the website, it can learn what’s to store in the cache so that the site loads faster without the need to use the network that often.

To clear the browser cache, you need to follow the steps below.

  • Open your browser
  • Go to Settings
  • Now Search for “Cache”
  • It will open up the Cookies and Site Data
  • Click on Clear Data and select the option to clear the cache.

The process should be almost similar for other browsers.

Server Cache and How to Clear it

Servers can also cache. The servers try to cache plugin and script settings and resources so that it doesn’t have to run commands every time the site is requested.

The current generation hosting provider uses their caching technique to make the server perform faster. This server-side caching can include multiple elements, including HTML, PHP, MySQL, and WordPress Object Catching API. In addition, the server also runs other server-optimizing techniques, including virtual file systems, firewalls, sitemaps, and so on!

The best way to clear the server cache is to contact customer support and let them do it for you. However, if you have some experience handling servers, you can follow the steps mentioned below.

  • Open up the server admin panel or CPanel through your Divi hosting site
  • Go to host settings
  • Search for Cache
  • Clear it

Cache Plugin and How to Clear it

Lastly, we have a cache plugin utilized by plugins to improve website loading time – resulting in pre-made web pages delivered. There are plenty of popular cache plugins out there, including the likes of:

  • W3 Total Cache
  • WP Rocket
  • WP Super Cache
  • WP Fastest Cache

And so on!

Each plugin creates its own cache to improve site performance.

Let’s pick W3 Total Cache and learn how to clear the cache on it.

  1. Go to the Performance tab on your WordPress sidebar.
  2. Then click on General Settings.
  3. From there, you can go to each of the options, including Page Cache, CDN, browser, and so on.
  4. Lastly, click on “Save Settings and Purge Cache.”

In case you also Purge Cache even without making any changes.

empty-cache-w3-total-cache

It should be similar to other Cache plugins – with a few different steps.

Other ways to clear the cache on WordPress

There are a couple of other ways you need to clear the cache on WordPress:

  • Content Delivery Network(CDN): CDN providers store your website across different servers to better serve them, such as Cloudflare. Clearing the CDN cache is easy; however, you should not clear the entire cache as it would render the CDN useless and would make your site not load when requested via CDN. If you are using Cloudflare, you can go to your Account settings and then click on the “Cache Purge” option.
  • Reverse Proxy: If your site uses a reverse proxy, you can wait some time as the cached version expires after an interval. If not, you can go to the plugin you are using to implement Reverse Proxy and manually clear the cache.

Conclusion

Websites use many techniques that make them faster and the cache is one of the main ways you can speed up your website and reduce server load.

Divi and WordPress both use cache to make the site more accessible. However, it can also lead to problems, including non-accessibility and malfunctioning.

This post went through the techniques to make your site free from cache-related problems. So, are your problems solved now? Comment below and let us know.

5 1 vote
Article Rating