WP Manifestindependent plugin directory
manifest / performance / wpucloudflare

WPU Cloudflare

Handle Cloudflare reverse proxy

by Darklg · github.com/wordpressutilities/wpucloudflare · website

0stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/wordpressutilities/wpucloudflare/archive/refs/heads/main.zip

Declares an update source (https://github.com/WordPressUtilities/wpucloudflare), so updates arrive through the plugin's own updater.

Readme

WPU Cloudflare

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.

Read the full README on GitHub →