3 ms·
It's hardly crunching analytics. If there's a call-to-action on the homepage, it's likely that the user will click it, so we should pre-load it. I believe Gatsb
by frosted-flakes 6y ago
It's hardly crunching analytics. If there's a call-to-action on the homepage, it's likely that the user will click it, so we should pre-load it. I believe Gatsby will pre-load any link that's visible in the viewport by default$
- quantummkv 6y agoBut what if the user does not click on it but clicks on something else? Then we are back to square one with a lot of effort for nothing. > I believe Gatsby will pre-load any link that's visible in the viewport by default$ If it does that, then no wonder that the original article was completely right. On a page with 10 visible links in the viewport, I will only navigate to one or maybe I won't navigate. Then why the hell is my battery, network bandwidth, etc is being used for it what is essentially 90% wastage?