Today’s Divi 5 update is all about caching.
Caching problems are annoying and challenging to solve when Divi isn’t handling caching. Sometimes, you just have to clear the cache.
But that doesn’t mean we can’t try to make your life easier, and today’s update does just that. To put it simply, when your cache plugin gets out of sync with Divi, you’re no longer going to see completely broken styles.
Furthermore, we added a handful of new integrations for popular caching plugins to automatically clear the cache for you when we know it’s necessary, such as when editing Theme Builder templates that target a diverse range of pages that your caching plugin simply doesn’t account for.
What’s The Deal With Caching Problems?
The crux of the issue is simple. When a caching plugin caches a page, it serves up static HTML to your visitors. That static HTML includes links to CSS files generated by Divi, which include all of the styles you customized in the builder. If Divi clears its CSS files but you don’t clear your plugin’s HTML cache, the HTML still links to a file that no longer exists.
So how do we prevent this? Simple!
Now, Divi keeps those stale CSS files intact, so that the stale HTML can still reference them, and they stick around until your plugin clears its cache and a new legitimate visitor hits the latest version of your page.
If you want to delete those stale CSS files for whatever reason, you can do so from the Theme Options.
Divi Saves You Time By Clearing Your Plugin Cache For You
Divi will also clear your plugin cache for you in certain situations.
For example, if you are editing a header layout on a theme builder template that affects various random pages on your website, your plugin cache isn’t going to know what to clear on its own. Furthermore, caching plugins probably don’t know how to clear their cache when you edit a preset or a variable.
So, Divi takes the reins and clears the cache. That’s not new; Divi has always done that, but this update adds many new caching plugin integrations covering the latest wave of popular plugins. Those include:
- Comet Cache
- WP Rocket
- W3 Total Cache
- WP Super Cache
- WP Fastest Cache
- Hummingbird
- WordPress Cache Enabler
- LiteSpeed Cache
- Hyper Cache
- Pantheon Advanced Page Cache
- Siteground Optimizer
- WP Engine
- Bluehost Endurance Page Cache
- Pressable Batcache
- Cloudways Breeze
- Kinsta Cache
- GoDaddy WPaaS Cache
- Autoptimize
- WP Optimize
- FlyingPress
- Nitropack
- Super Page Cache for Cloudflare
- SpeedyCache by Softaculous
- WP Compress
- Swift Performance
- EWWW Image Optimizer’s SWIS Performance
- Cloudflare WordPress Plugin
It’s important to note that you don’t have to use one of these caching plugins. Divi will work with any caching plugin. You just need to remember to clear the cache whenever you make a global change in Divi, such as when editing a preset or a design variable.




0 Comments