RunCloud Hub offers a seamless integration with Cloudflare caching, and allows you to manage and purge your Cloudflare cache directly from your WordPress dashboard. There are two significant benefits of this integration:

  1. Direct Cache Management: Purge Cloudflare cache from your WordPress dashboard without logging in to Cloudflare.
  2. Improved Performance: Use Cloudflare’s global CDN for faster content delivery.

This guide will walk you through integrating Cloudflare with RunCloud Hub.

Prerequisites

  • A WordPress site managed by RunCloud Hub
  • A Cloudflare account with your domain using Cloudflare’s proxy (orange cloud icon)
  • Cloudflare caching rules configured for your site

If you use RunCloud to manage your DNS records, you can also check your proxy status in the RunCloud DNS Manager, as shown below:

Setting Up a Cloudflare API Key

To integrate RunCloud Hub with Cloudflare, you must create an API key in your Cloudflare account. Follow the steps below to create your API key:

  1. Log in to your Cloudflare dashboard and navigate to “My Profile” > “API Tokens“.
  2. Click “Create Token” and select the “WordPress” template.
  1. This template grants the basic permissions required by RunCloud to manage your cache.
  2. Once you have reviewed the permissions, click “Create Token” to generate your API key.
  1. Once the API key is generated, you must copy it securely. You cannot access this key once you close the page.

Integrating RunCloud Hub with Cloudflare

After creating the API key, log in to your WordPress dashboard and navigate to the RunCloud Hub plugin settings. On the settings page, click the “Allow Cloudflare Integration” checkbox and then “Save Settings”.

Once you enable the Cloudflare integration, a new section will appear in the sidebar. Find the Cloudflare integration section and click on the “Enable Cloudflare Integration” checkbox.

Next, you need to enter the Cloudflare API key you created in the previous step and the email address of your Cloudflare account. Once you have added all the information, click the “Save Settings” button.

Using the Integration

Once set up, check whether the caching settings are correctly configured from the WordPress dashboard. To do this, go to the RunCloud Hub plugin section in your WordPress admin area and navigate to the Cloudflare tab. On this page, click the “Test Page Cache” button.

Once you click this button, you will see a banner message at the top of your screen telling you if Cloudflare successfully cached your website. In the following screenshot, the cache status is “HIT”, which means it works properly.

If you encounter any issues, ensure your domain uses Cloudflare’s proxy (orange cloud icon). For example, in the following screenshot, the “Proxy status” of the given website is “Proxied” and shows an orange icon.