WP Manifestindependent plugin directory
manifest / performance / wpucloudflare

WPU Cloudflare

Handle Cloudflare reverse proxy

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/wordpressutilities/wpucloudflare/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Handle Cloudflare reverse proxy

Features

  • Purge cloudflare cache for an URL when saving a post from the admin.
  • Manually purge cloudflare cache for all pages.

Translations

  • English
  • French

Hooks

  • wpucloudflare__purge_everything (Action) : Purge all cache.
  • wpucloudflare__save_post__can_clear (Filter) : Bool (post id) : disable cache purge for a page.
  • wpucloudflare__save_post__urls (Filter) : Array (urls, post_id) : add more urls to purge.
  • wpucloudflare__save_post__excluded_post_types (Filter) : Array (post_type_slug) : Avoid save_post action for those post_types.