Updated api cache cleaner.