$this->deleteCache(); ile tüm cache siliniyor sanmıştım, bir yazıyı update edip anasayfada değişmesini gördükten sonra cache boyutuna bakıyorum sıfırlanıyor çünkü
public function on_all_status_transitions($new_status, $old_status, $post) {
if ( ! wp_is_post_revision($post->ID) ){
if(isset($this->options->wpFastestCacheNewPost) && isset($this->options->wpFastestCacheStatus)){
if($new_status == "publish" && $old_status != "publish"){
$this->deleteCache();
}else if($new_status == "trash" && $old_status == "publish"){
$this->deleteCache();
}else if(($new_status == "draft" || $new_status == "pending") && $old_status == "publish"){
$this->deleteCache();
}
}
if($new_status == "publish" && $old_status == "publish"){
if(defined('WPFC_DELETE_ALL_CACHE_AFTER_UPDATE') && WPFC_DELETE_ALL_CACHE_AFTER_UPDATE){
$this->deleteCache();
}else{
$this->singleDeleteCache(false, $post->ID);
}
}
}
}Yazı update olunca $this->singleDeleteCache() fonksiyonu çalıştırılıyor. Eğer böyle değilse sizin kodda, ücretsiz sürümü güncellemeniz gerekiyor.