Clear the composites cache correctly