This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Purge Cloud Flare

Description

It clears whole CloudFlare cache for desired domain.
Purge is done from WordPress admin panel or plugin’s page. Current version contains functionality which purges individual files by URL and clears CloudFlare cache after Save Post action.

THINGS YOU NEED TO KNOW:

  • Whenever you get error clearing the cache alert popup appears with CloudFlare Api response.
  • This version allows you to purge whole CF cache and specific files by their urs.
  • Clear cached files to force Cloudflare to fetch a fresh version of those files from your web server. You can purge files selectively or all at once.
  • Purging the cache may temporarily degrade performance for your website.

Screenshots

  • Plugin blank settings
  • Plugin settings filled with purge button
  • CloudFlare cache being cleared with API key setting unveiled
  • Error notification popup
  • Settings page with successful purge status
  • Purge individual files modal

Installation

  1. Upload the plugin plugin to your blog.
  2. Activate it.
  3. Go to Dashboard->CF Purger (or directly to this URL: “http://your-wordpress-site.com/wp-admin/admin.php?page=cf-purger”) and enter following fields:
    • CloudFlare Email Address
    • CloudFlare API Token (you can find it in your CloudFlare Account ) previously logged in to CloudFlare
    • Zone ID – required to specify the domain clear cache for
  4. Press “Save Changes” button
  5. Be happy! 🙂

FAQ

Notice tells “CloudFlare cache clear attempt was done”. How can I understand if autopurge is successful?

Good question. This notice doesn’t guarantee the cache wa successfully purged. Next major version of the plugin will contain that functionality if needed.

How can I clear particular files?

Hover over Purge button in right top corner on WordPress admin bar and click “Specific Files”. You will see modal (screenshot 6). Enter files in appeared form, press “purge Individual Files” button. Be happy =)

I have cleared cache, but no changes on my frontend. Why?

If no error message has appeared – wait for 30 seconds more. It must have successfully purged all assets. Please allow up to 30 seconds for changes to take effect.

I want to clear specific Cache Tag. How can I do it

This feature is available for Enterprise CloudFlare accounts only. It’s not developed so far.

Reviews

སྤྱི་ཟླ་གཉིས་པ། 8, 2017
A simple and direct plugin that allows us to program CloudFlare to cache ALL of our content. That means that our site is delivered at lightning speed without even hitting our servers… our servers can be shutdown and the site still works! This plugin allows our content editors to update content and have CloudFlare update on the next hit. Support from the developer when a problem was found resulted in a hotfix within hours – great stuff, thanks.
སྤྱི་ཟླ་དང་པ། 13, 2017
Nice plugin btw. I like your modal. And I wish that there was option to purge CF cache automatically when new post/page is updated/created
Read all 2 reviews

Contributors & Developers

“Purge Cloud Flare” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Purge Cloud Flare” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.6

  • important bugfix: when your WordPress was installed to subfolder – ajax call might have not worked

1.5.2

  • bugfix when adding a new menu and atoclear cache option is enabled

1.5.1

  • Small bugfixes and adjustments with style.css and script.js

1.5

  • Autopurge option is added. You now can clear whole CloudFlare cache after post is updated/saved/created

1.4.1

  • Small improvement with js

1.4

  • Purge individual files feature is added

1.3

  • Domain is replaced with Zone ID

1.2

  • script.js is bugbixed. uprgade emmediatelly

1.1

  • plugin is migrated to CloudFlare API v4

1.0.1

  • Styles are added for admin bar.
  • Menu name is renamed to Purge Cloud Flare

1.0

  • Initial plugin release