Add cache destroy and cache rebuild | not fully done yet