We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c885208 commit 39c81aaCopy full SHA for 39c81aa
1 file changed
beaver-cache-helper.php
@@ -41,7 +41,7 @@ public static function clear_caches() {
41
if ( function_exists( 'sg_cachepress_purge_cache' ) ) {
42
sg_cachepress_purge_cache();
43
}
44
-
+
45
// varnish
46
@wp_remote_request( get_site_url(), array( 'method' => 'BAN' ) );
47
@@ -55,6 +55,12 @@ public static function clear_caches() {
55
Cache_Enabler::clear_total_cache();
56
57
58
+ // wp fastest cache
59
+ if( class_exists( 'WpFastestCache' ) ) {
60
+ global $wp_fastest_cache;
61
+ $wp_fastest_cache->deleteCache( true );
62
+ }
63
64
error_log( 'Cleared Caches' );
65
66
/**
0 commit comments