Anyone here use prefetch or these libraries? Seems neat to get top speeds.
> There are also libraries such as quicklink and guess.js, that use heuristics to determine which resources should be prefetched at runtime. With these, developers don't need to guess what should be prefetched. The libraries take the decision based on available data.
I lead frontend development on a medium-sized US eCommerce shop for a few years. We prefetched JS bundles for likely page hits (e.g. grabbing category bundles when users land on the homepage).
It improved performance a decent bit, though the far majority (>85%) of the site's users are on iOS, so RUM didn't show a big effect.* Hopefully the Safari team brings that to a stable release soon!
*also why I dislike the focus from web.dev and family on CrUX. Fully 2 of the 4 Web Vitals are unmeasurable outside of Chromium[0], and CrUX only includes reporting from Chrome users anyway... I really wish they had delayed the SEO impacts of this stuff until there were usable analogs in competing browsers. That that caveat is not surfaced on Lighthouse/PSI reports does not make me happy either.
> There are also libraries such as quicklink and guess.js, that use heuristics to determine which resources should be prefetched at runtime. With these, developers don't need to guess what should be prefetched. The libraries take the decision based on available data.