How can we help?

Table of Contents

Cache Control

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.
Cache Control 1

 

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.

Cache Control 2

 

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

  1. Login to your MainWP Dashboard
  2. Go to the MainWP > Extensions > Cache Control page
  3. Enable the feature, click Save button
  4. Synchronize your Child sites
    Cache Control 3

 

 

Change Cache Control settings on a Single Site

  1. Login to your MainWP Dashboard
  2. Go to the MainWP > Sites > Manage Sites page
  3. Locate the Child site, open its Dashboard and go Cache Control page
    1. Override the global settings by selecting Yes or No from the dropdown
    2. Optionally, enable the Cloudflare Cache API and enable the site-specific API key
      Cache Control 4
  4. click Save button
  5. Synchronize your Child site

 

 

Still Have a Questions?
Search for additional solutions in the MainWP Community or start your own discussion