• Hi,

    I am using cloudflare for years now, for some reason when I turn on APO (because I want html caching too) it slows down like hell. A page which loads like rocket without APO takes almost 30-60 seconds. I remember having APO on my site years ago but this never happened before.

    What could be wrong and how do I fix it?

    Regards

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Remkus de Vries

    (@defries)

    Hi @couponzania,

    This very much sounds like a misconfiguration inside WP Rocket and/or perhaps your server setup as well. The logic in what APO does is very straighforward: everything that is cachable from your WordPress sites, whether WP Rocket optimizes the output or not, is available for APO’s cache. If the rendering of your pages is slower, it’s not likely this is due to APO as it’s job is to cache and nothing more.

    When looking at your pages, btw, they are currently not cached by Cloudflare APO as the Cf-Cache-Status is set to DYNAMIC, which means APO is not caching. This generally means either or a combination of these things is happening:

    • Cookie detection: APO bypasses cache for requests with WordPress cookies (e.g., logged-in, comments, dynamic features).
    • Plugin incompatibilities: WP Rocket’s dynamic/mandatory cookies not compatible with APO; conflicting optimizations (e.g., minify/combine in either plugin).
    • Layered caching conflicts: Dual server/edge caching (LiteSpeed + APO) causes bypass or sync issues.
    • Bypass rules: Custom Cloudflare rules or headers forcing dynamic serving.
    Thread Starter Rajat Singh

    (@couponzania)

    Thanks for the detailed explanation.

    I had temporarily disabled APO because it seemed to be slowing down the site, which is why you’re seeing Cf-Cache-Status: DYNAMIC. Also, just to clarify, I’m not using WP Rocket or any other page caching plugin—only Redis for database caching is in use.

    That said, I’m still facing slow page loads and I’m unable to pinpoint the root cause. Given your expertise, I’d be happy to re-enable APO so you can take another look and help identify if it’s contributing to the issue.

    Please let me know when you’re ready, and I’ll switch it back on.

    Plugin Contributor Remkus de Vries

    (@defries)

    It’s not likely that I’ll be able to tell what’s going on as I’ll only see the output of your site, on APO or not, but we can try this. It’s far more likely something’s going on with your LiteSpeed setup or something inside of WordPress.

    That said, I’m happy to take a look if you turn it back on.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.