I’m trying to find a way to prefetch frames with measurements. As far as I understand, when the viewer loads, it only prefetches the first frames of each series. The next click on a series or measurement item triggers downloading action of the rest of the frames of the relevant series.
In order to shorten the waiting time when clicking on a measurement item, I would like to prefetch all frames with measurements in advance. Ideally, prefetching should start as soon as a new measurement is loaded.
I thought the onMeasurementsUpdated event handler in Viewer.js is the right place to trigger the frame download process. The thing is, I’m not sure how to initiate that process correctly. Should I use StudyPrefetcher.js?
I will appreciate any help or new ideas on how to do the mentioned above.
I really appreciate any help you can provide.