manifest / performance / cache-purge
Cache Purge
WordPress plugin that will purge the entire cache at GraphCDN and/or Cloudflare on content change.
★ 0stars
Install
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/funkhaus/cache-purge/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
This plugin will purge the entire cache at GraphCDN and/or Cloudflare on create/edit of posts, pages, menu items and attachments.
Install
- Upload the files to
/wp-content/plugins/ - Enter any settings on the plugins settings page. You don't need to set both Cloudflare and GraphCDN, just the one provider you need or both.
Cookies
Getting cookies to work with GraphCDN is a little tricky. You'll want to make sure your PHP constant COOKIE_DOMAIN is set to a .example.com. A lot of WordPress hosts (like Flywheel) prevent you from setting COOKIE_DOMAIN on your own though. See here for our solution.