MainWP Cache Control extension allows you to automatically purge the Cache on your child sites after performing an update of WP Core, Theme, or a Plugin through the MainWP Dashboard. Currently supported caching solutions are
- Cloudflare
and the following caching plugins:
- Breeze
- LiteSpeed Cache
- Siteground Optimizer
- Swift Performance Lite and Pro
- WP Fastest Cache
- W3 Total Cache
- WP Rocket
- Hummingbird Performance
- Cache Enabler
- Nitropack
- Autoptimize
- Nginx Helper
Overview of when the last automatic Cache purge occurred and what the currently detected Caching solution is for your Child sites can be found in the table located on MainWP > Sites > Manage Sites page.
Cloudflare cache purging
For the Cloudflare cache purging to work, you must enter a valid Cloudflare API Email and Cloudflare API Key and enable “Use Cloudflare Cache API” setting.
NOTE MainWP Cache Control will NOT purge both Cloudflare Cache and Cache from one of the supported plugins.
If MainWP detects that a Child site uses one of the supported Plugins, only its Cache will be automatically purged. If a supported Caching plugin is not detected by MainWP, then the Cloudflare cache will be purged.
If, however, you want both Cloudflare and Plugin caches to be automatically purged, the Caching plugin will have to support Cloudflare natively and be configured appropriately.
Please follow the instructions provided by the plugin’s developer in order to do so: Breeze, Litespeed Cache, Swift Performance, WP Fastest Cache, W3 Total Cache, WP Rocket, Hummingbird Performance.
Change Cache Control settings on All child sites
- Login to your MainWP Dashboard
- Go to the MainWP > Extensions > Cache Control page
- Enable the feature, click Save button
- Synchronize your Child sites
Change Cache Control settings on a Single Site
- Login to your MainWP Dashboard
- Go to the MainWP > Sites > Manage Sites page
- Locate the Child site, open its Dashboard and go Cache Control page
- click Save button
- Synchronize your Child site