1. Home
  2. Blog
  3. Performance

Stop WordPress Speed Plugins Fighting: Caches, Minifiers and Rocket Loader

Performance

October 17, 2026

A lot of slow WordPress sites are not short of optimization. They have too much of it. A caching plugin from three years ago, a separate minification plugin someone added for a PageSpeed test, the CDN’s own optimizer switched on in a dashboard nobody opens, and a host cache on top. Each one was added to fix something, and together they produce pages that break in ways nobody can reproduce.

This post is about WordPress speed plugin conflicts: which layers fight, which ones are designed to work together, and how to consolidate onto Lightify without a week of mystery bugs. The short version is one tool per job. The longer version is knowing which job each tool is actually doing.

The rule: one owner per job

Most conflicts come from two tools doing the same job on the same request. Before you change anything, write down who currently owns each of these:

JobWhat does itHow many owners you want
Page cache (serving stored HTML)A caching plugin, through advanced-cache.phpExactly one
Minifying CSS and JavaScriptA plugin, or a CDN optimizerExactly one
Deferring and delaying scriptsA plugin, or something like Cloudflare Rocket LoaderExactly one
Browser cache through a service workerA performance or PWA pluginExactly one
Edge cache at the host or CDNYour host or CDNCan run alongside the page cache
Object cache for database queriesRedis or Memcached on the serverComplements the page cache

The first four rows are where the fights happen. The last two are layers that are meant to stack, and turning them off to “simplify” usually makes things slower.

Conflict 1: Two page cache plugins

This is the one that causes the strangest symptoms. A full-page cache in WordPress works through a drop-in file, wp-content/advanced-cache.php, which WordPress loads very early when the WP_CACHE constant is set. There is only one such file. If two caching plugins are active, both try to write it.

The Lightify FAQ is direct about it: two plugins writing advanced-cache.php will fight, and which one serves a given request becomes unpredictable. Pick one. Lightify’s own product page says the same thing in plainer terms: running two caching plugins at once causes problems, so deactivate your current one (it names WP Rocket, W3 Total Cache and LiteSpeed Cache as examples) before switching Lightify’s caching on.

Typical symptoms of two page caches:

  • Changes show up for some visitors and not others.
  • Purging in one plugin seems to do nothing.
  • Logged-in pages or cart contents occasionally appear for the wrong person.
  • The cache header comes and goes between reloads.

How to switch cleanly

  1. Take a backup.
  2. Note any page exclusions you set in the old plugin, so you can add the same paths to Lightify’s Page Exclusions if you still need them. WooCommerce cart, checkout and account pages are excluded automatically, so you do not need to copy those.
  3. Deactivate the old caching plugin.
  4. Activate Lightify and open the overview page. Check the cache status reads active, which means WP_CACHE is set and the drop-in is installed. If it says wpconfig, add define('WP_CACHE', true); to wp-config.php yourself. If it says dropin, make wp-content writable so advanced-cache.php can be created.
  5. Confirm a page is really served from cache with curl -sI https://example.com/ | grep -i x-lightify. On Apache without mod_headers the header is skipped even though caching works, so check wp-content/cache/lightify/ for cache files if the header is missing.

Lightify records its own status and repairs it on every admin page load, so a blocker that was temporary fixes itself once it is gone.

Conflict 2: Minifying twice

Lightify minifies CSS and JavaScript by default. That is safe on its own. It stops being safe when another tool minifies the same files again, because now every asset is processed twice by two different minifiers with two different ideas about what is safe to remove.

The Lightify conflict table lists two versions of this:

Conflicts withSymptomWhat to do
Another minification pluginDouble-processed CSS or JavaScriptDisable one side
A CDN with its own optimizerAssets minified twice, sometimes wronglyTurn off one, usually the CDN’s

The CDN case is the easier one to miss, because the setting lives in a separate dashboard. If you use a CDN that offers its own HTML, CSS or JavaScript minification, decide which side owns it. The docs recommend turning off the CDN’s, which keeps the processing in one place where you can see it, purge it and add exclusions.

Signs you are minifying twice: a stylesheet that works with every optimization off breaks only when the CDN is in front of the site, or a script error that only appears on the live domain and never on staging.

Conflict 3: Cloudflare Rocket Loader

Rocket Loader is a Cloudflare feature that changes how scripts load. Lightify has its own tools for the same job: Defer JavaScript, which runs scripts after HTML parsing, and Delay JavaScript Execution (Pro), which holds third-party scripts until the visitor moves, scrolls or taps.

Two systems both reordering script execution on the same page is a reliable way to break interactivity. The Lightify FAQ says to turn off Rocket Loader if you use it, because it reorders script execution and fights with defer and delay. The conflict table says the same.

The rest of Cloudflare is fine. Lightify works with Cloudflare, and if you install the official Cloudflare plugin, Lightify purges Cloudflare’s cache for the same URLs whenever it purges itself. Without that plugin Lightify has no credentials to purge with, so you would have to purge Cloudflare by hand after content changes.

Conflict 4: Two service workers

Lightify can handle browser caching through a service worker, with a choice of strategies such as Network-First or Stale While Revalidate. A PWA plugin also registers a service worker. Two service workers on the same scope would fight.

If the PWA plugin is Progressify, this is handled for you. When Progressify is active it owns the service worker, and Lightify’s browser cache section shows Handled by Progressify with its fields disabled. Nothing to configure. If you run a different PWA plugin, pick one side to own the service worker and make sure the other is not registering its own.

Things that look like conflicts but are not

Some layers are designed to run together. Removing them in the name of “one tool per job” costs you speed.

Your host’s cache

The Lightify FAQ asks “Can I run Lightify alongside my host’s cache?” and answers yes, and you should. Lightify caches the HTML, the host caches at the edge, and Lightify’s integrations purge both together. Kinsta, WP Engine, SiteGround, Cloudways with Breeze, RunCloud, SpinupWP, GridPane, Rocket.net, WordPress.com edge cache and sites using Nginx Helper are detected automatically. You do not need to disable either one.

An object cache

Page caching cannot help requests it does not serve: wp-admin, logged-in pages and anything excluded. An object cache such as Redis or Memcached speeds those up by keeping database query results in memory. Lightify reports whether your server offers one but does not install anything. The two complement each other rather than compete.

Both prefetch features

Lightify has Smart Link Prefetch, which fetches links near the cursor, and Speculative Loading (Pro), which uses the browser’s own prediction and can prerender rather than only download. The FAQ says you can use both, because they complement each other.

A related trap: freezing scripts that should update

One more pairing deserves a mention, because it looks like a plugin conflict but is really a setting meeting the wrong script. With Pro, Lightify self-hosts external CSS, JavaScript and fonts by default, which removes third-party connections from your page load.

That is right for fonts and static libraries. It is wrong for scripts that are meant to update themselves. The docs name payment provider SDKs and consent managers specifically: do not self-host them, or you will be serving a frozen copy. If a payment form or cookie banner broke after you activated Pro, add that script to the self-hosting exclusions rather than turning the whole feature off.

When something breaks after consolidating

The Lightify troubleshooting guide opens with two rules that cover most of what happens next.

  1. Purge before you conclude anything. A cached page built before your change is still being served. This explains more reports than every other cause combined. Purge Lightify first, then your CDN, then your host’s cache.
  2. Exclude rather than disable. When one script or selector breaks under an optimization, add it to that feature’s exclusion list. Losing one file from an optimization is much better than losing the optimization site-wide.

If you are not sure which setting caused a problem, turn off the last one you enabled, purge and check. The usual suspects are Remove Unused CSS for visual problems, Defer or Delay JavaScript for broken interactivity, and Lazy Render Elements for anchor links that scroll to the wrong place.

A consolidation checklist

  • Back up the site before you change anything.
  • List every tool that caches, minifies, defers or registers a service worker, including CDN dashboard settings.
  • Deactivate the old page cache plugin before turning Lightify’s cache on.
  • Confirm cache status active and the x-lightify-cache header.
  • Turn off CDN minification, or turn off Lightify’s, but not neither.
  • Turn off Cloudflare Rocket Loader. Install the official Cloudflare plugin so purges stay in sync.
  • Keep your host cache and any object cache running.
  • Let Progressify own the service worker if you use it.
  • After activating a Pro license, purge everything, since several Pro optimizations default to on and existing cached pages were built without them.
  • Turn on the riskier Pro optimizations (Remove Unused CSS, Delay JavaScript, Lazy Render) one at a time, purging and checking after each.

Fewer plugins, fewer renewals

Consolidating is not only about fixing conflicts. Every separate optimization plugin is another settings screen, another set of exclusions to keep in sync and another renewal. Lightify covers page caching with preloading, minification, defer and delay, unused CSS removal, image optimization, self-hosting, speculative loading, database cleanup and Core Web Vitals monitoring in one plugin.

Page caching, minification, defer, lazy loading and smart link prefetch are free. Remove Unused CSS, Delay JavaScript, auto image optimization, self-hosting and speculative loading are Pro, and Pro comes with every other DaftPlug plugin under one membership. See pricing.

If your next problem is a CDN or host cache that keeps serving old pages after a purge, we covered that in keeping Cloudflare, Varnish and host caches in sync when WordPress purges.