To get the most from your caching solution, it's important to understand and optimise them!
In our stack, there are 2 different caching systems that produce 4 caches per website/account.
- WP Super Cache (WPSC): Regular Cache
- WP Super Cache (WPSC): Supercache
- NGINX Reverse Proxy: User Cache
- NGINX Keys Zone: Memory Cache
- Stores the cache metadata
By default, we deploy WPSC configuration that should produce both types of WP Super Cache.
Auto-purging (preload of WPSC) occurs once every 24 hours, which equals the NGINX validity period.
If you're developing a website, you'll want to disable both types of caching at their core:
- WPSC (both types): WP-Admin > Settings > WP Super Cache > Easy > DISABLED
- NGINX User Cache: cPanel > top-right corner (info area) > Toggle NGINX Cache OFF
Once you're done with the build and have changed its domain to production, etc, you can undo the above.
Updating any post/s or page/s should trigger an update of the WP Super Cache.
For websites that have frequent updates we also recommend you override the Preload timer in WP Super Cache.
These content and preload updates will trigger an NGINX User Cache purge action, though it can take a while.
As for having a direct WordPress integration, cPanel report that WordPress Toolkit seems eager to pursue it.
https://features.cpanel.net/topic/22571-nginx-user-cache-simple-plugin-to-purge-from-within-wordpress-wp
If you have any queries please feel free to reach out to our Tech Support crew!