added Cache to stream.asTimespans