From d5aec71d4418cda42a9266a87090762d54c84fdd Mon Sep 17 00:00:00 2001 From: Simon Prosser Date: Mon, 8 Jan 2018 13:59:35 +0000 Subject: [PATCH] Remove litespeed. varnish seems to have it covered. --- beaver-cache-helper.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/beaver-cache-helper.php b/beaver-cache-helper.php index 65c7a37..1f9ea27 100644 --- a/beaver-cache-helper.php +++ b/beaver-cache-helper.php @@ -45,11 +45,6 @@ public static function clear_caches() { // varnish @wp_remote_request( get_site_url(), array( 'method' => 'BAN' ) ); - // LiteSpeed - if( class_exists( 'LiteSpeed_Cache_API' ) ) { - LiteSpeed_Cache_API::purge_all(); - } - // Cache Enabler if( class_exists( 'Cache_Enabler' ) ) { Cache_Enabler::clear_total_cache();