class.Cachesystem.php modified for related.