sajad torkamani

Prefetching is the process of loading a route in the background before the user navigates to it.

The prefetching might happen when the user hovers over a link, when a link becomes visible in the viewport or whenever else that makes sense for a particular page.

Prefetching makes navigation between routes feel much faster because by the time a user clicks on a link, most or all of the data to render the next route is already available.

Technologies like Turbo and Next.js use prefetching.

Tagged: Misc