• Resolved doctorproctor

    (@doctorproctor)


    Hi, due to bot traffic and related need for a better firewall, I may be going back onto Cloudflare with nginx-based sites I cache using your plugin. But I want to make sure not to mess things up! I read this in your FAQ: “When using NPP with other WordPress caching plugins, consider disabing their page caching features to avoid conflicts and redundancy.” There are some Cloudflare threads (e.g., this one) that address how to configure things on that end to disable its typical caching functionality, but I don’t want to customize Cloudflare too much. My server support person recommends this Cloudflare plugin and suggests that it will work with nginx caching, but the plugin summary suggests that it’s primarily for “Automatic Platform Optimization” as a paid add-on.

    **I suspect if I continue to use your plugin as well as Cloudflare’s default setup, then I would have both a server and a CDN cache, which it sounds like you don’t recommend, correct?**

    Thank you for clarifying,

    Jim P.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hasan CALISIR

    (@psauxit)

    Hello @doctorproctor

    Using another caching tool with NPP is always possible with fine adjustments, but keep in mind that this adds extra complexity. In the end, you need to manage both purging mechanisms separately, which increases operational workload.

    NPP already supports nearly all popular WordPress cache plugins. For example, when you enable Auto Purge and trigger Purge Cache, NPP automatically calls compatible plugins purge endpoints, so both caches are cleared automatically and stay in sync, preventing stale content.

    The same applies to Cloudflare. You need fine adjustments to APO to prevent stale content when it’s used alongside server-side caching such as Nginx Cache. The only WAF example you share looks logical.

    I’ll add support so that when NPP purges the NGINX cache, it also clears the Cloudflare cache (v2.1.5).

    Best~Hasan

    Thread Starter doctorproctor

    (@doctorproctor)

    Great, thank you for this advice and your updates; I sure appreciate.

    Jim P.

    Plugin Author Hasan CALISIR

    (@psauxit)

    Good timing — v2.1.5 just dropped and Cloudflare APO Sync is in there, as promised.

    When you purge via NPP now, it’ll automatically hit Cloudflare’s edge cache too — single pages, related URLs, everything. If you have APO Cache By Device Type on, that’s handled as well.

    Just go to Settings → Advanced → Cloudflare APO Sync and flip it on. You’ll need the official Cloudflare plugin installed and connected.

    APO being paid means I can’t throw it on a test server myself, so honestly you’d be doing me a favor if you gave it a spin on your end and let me know how it goes. Even a quick “works fine” or “something’s off with X” would help a lot — other users will likely ask the same question down the road.

    Thanks again for pushing for this one. 🙏

    Best, Hasan

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

You must be logged in to reply to this topic.