這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

CloudFlare Cache Purger for WordPress

描述

Why should I use this plugin?

If you use CloudFlare in your WordPress website and you want to boost it’s performance, you need to set your Page Rule to “Cache Everything”. Unfortunately, this will cache your whole website, homepage, post page and everytime you post/edit new content you’ll have to manually purge your cache on CloudFlare’s dashboard.

Currently, CloudFlare’s provides a plugin for WordPress but it just purge your cache in case of theme changes, not post changes. So, if you are planning to BOOST your performance with CloudFlare, this plugin is what you need to avoid caching issues.

Follow this article on CloudFlare: https://support.cloudflare.com/hc/en-us/articles/228503147-Speed-Up-WordPress-and-Improve-Performance

安裝

Prerequisite

First you need a Cloudflare account and your API token ID.
Also, make sure your PHP version is 5.3 or higher.

From your WordPress Dashboard

  1. Visit “Plugins” > Add New
  2. Search for CachePurger for WordPress
  3. Activate this plugin from your Plugins page.

How to get my Cloudflare API Key?

  1. Login into your CloudFlare account
  2. Enter your Profile settings page (right icon on top)
  3. Scroll down and copy “Global API Key”

常見問題

When the cache is purged?

Everytime you edit or post a new content the cache will be cleared.

Which pages this plugin purges?

This plugin tries to clear all related paths to avoid dummy caching. This plugin purges:

  1. The post Slug URL (yoursite.com/the-post-name)
  2. The post Slug URL with and without WWW, with and without SSL (httpS/http)
  3. Your wordpress home URL (get_home_url())
  4. Your wordpress home URL with ending slash (get_home_url()/)

評價

2020年2月22日
The plugin is very light and automatically performs the Cloudflare cache clean up every time I add a new post or update the existing. Thank you!
閱讀全部2個評價

貢獻者及開發者

“CloudFlare Cache Purger for WordPress” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者