This means that whenever you clear the cache stored on your WordPress site using WP-Optimize, it will also automatically send a signal to Cloudflare to clear its cached copies of your website pages, ensuring the most recent version of your content is displayed to visitors immediately.
It will purge the relevant cached pages whenever you change content, or purge everything when you modify a theme or add certain plugins
Thanks for confirming so it definitely sends a purge clear for only pages that have been changed and because of the change auto purged just that page in WPO?
I just didn’t want it to purge all on CloudFlares side if only 1 page has been modfied.
It will do a full or partial purge and preload depending on what you do.
Full cache purge:
- When changing/updating current themes and parent themes (of child themes)
- When changing/updating current plugins
- When turning off the cache feature in WP-Optimize
- When editing widgets
- When saving the customizer settings
- When updating a menu
- When Autoptimize purges its cache
- When updating permalink structure
- When changing cache settings
- When updating string translations in WPML plugin
- When updating the ‘posts_per_page’ option
- When purging Avada theme’s fusion caches
- When saving any of GetWooPlugins’ settings (Premium)
This can be changed by hooking into the filter wpo_purge_cache_hooks. E.g.// Add a new action that will trigger a cache purge add_filter( ‘wpo_purge_cache_hooks’, function( $actions ) { $actions[] = ‘my_custom_action’; return $actions; } );
Partial cache purge:
- When you publish new content or update/edit existing content, the cache for that post/page will be cleared, as well as associated content (category archives, blog archives)
- When comments are approved, or their status changes
- When terms are created or updated
- When changing/updating stock quantity of WooCommerce product or product variation
- When updating the ‘page_on_front’ option
- When updating ‘page_for_posts’ option
- When updating the ‘URLs to exclude from caching’ WP-Optimize caching configuration
- When trashing a post
- When running importers
- When WooCommerce product is on sale (Premium)