Caching Plugin Breaking Your Site After an Update
Layout or checkout broke after an update. Purge, then turn off the risky cache options one by one.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Caching plugins change your HTML, CSS and JavaScript to make pages faster. After a WordPress or plugin update, those changes can clash.
Quick fix
- Purge or clear all cache in the plugin.
- Reload in a private window.
- If it is fixed, you were seeing old files. Done.
If still broken, turn off these options one at a time
Test the site after each one.
- Combine or minify JavaScript
- Delay or defer JavaScript
- Remove unused CSS
- Combine CSS
- Lazy load for images or iframes
Delay JavaScript and Remove unused CSS cause most layout and menu breakage.
Checkout, cart and account pages
These must never be cached. Make sure the plugin excludes them. See cart fragments guide.
Still broken
Deactivate the cache plugin. If the site is fine, the plugin is the cause. Update it, or ask its support with your exact version numbers. See how to find a plugin conflict and caching setup basics.
Tip: keep a note of which options you turned on, so you can turn them back on one at a time later.
Related guides
- WordPress High CPU Usage From wp-cron.php: How to Reduce It
- WordPress Site Is Slow: Practical Steps to Speed It Up
- WordPress Site Slow After an Update: Find the Cause
- WordPress Images Look Stretched or Wrong Size: Regenerate Thumbnails
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.