updated api cache cleaner.