Lazy load for faster render

Nate Agrin · Friday Demos · March 21, 2025 · 1:59

We'll now load tiles below the fold after the top of the dashboard, reducing browser load (especially valuable on mobile and less resourced machines). The net is faster dashboards for…

Try it yourselfThe full week on docsdashboardsperformance

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. next one is uh so this is a little subtle but if I open up my network tab here I'm going to scroll this dashboard and you should see a bunch of network activity and you'll you should see tiles Flash in um so basically What's Happening Here is we no longer render every tile that's off the screen uh when the dashboard's first loaded so this should be a pretty large performance Improvement for especially folks who are on underpowered machines or you know like maybe they just land on this dashboard and don't scroll down um and so there's no real reason to spend the extra resources to render everything below the fold you could see everything loaded pretty quickly so it's still pretty performant um it's just

  2. like a nice little performance Improvement we do run all the queries in the background still so all the data is there um in the future we might prioritize the queries that are above the fold and then once those are rendered or run we'll schedule all the queries below the fold to be run but yeah for now this was probably the biggest performance win any questions on that before I move on when you say we we don't render the tiles below the fault is that we just cue them and we don't render them until the resources are free or we don't start rendering them until the user Scrolls at all we don't render them until the user Scrolls at all will that make like scrolling through

  3. a dashboard slower uh no shouldn't okay um