Duration queries can be done a few times per second and would cause the segment list to be traversed for every one. Caching the duration prevents that.
Duration queries can be done a few times per second and would cause the segment list to be traversed for every one. Caching the duration prevents that.