frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Lazy-load charts on scroll-into-view

Open kenkunz opened this issue 2 years ago • 0 comments

TBD whether this is needed.

We currently load ChartIQ-based charts client-side on the pair/index page. This results in multiple requests to /candles and /xyliquidity APIs. We could reduce server load by waiting to load the chart data until the charts are scrolled into view.

This would have a (relatively small) negative impact on the user experience – users who are trying to view the charts will experience more latency until the charts are loaded.

kenkunz avatar May 10 '22 19:05 kenkunz