#163 Instant page loads with Turbo 8 prefetch (aka InstantClick)

21/03/2024
turbo hotwire

Turbo 8 has been released! One of the core new features - hover-click preload acceleration (ala InstantClick).

InstantClick makes an assumption about potential user behaviour: now whenever you hover on a link, it will fire a GET request to retrieve that page. So when you actually click on the link, it will load faster.

Remarkable how effective it is for perceived performance. It can save hundreds of ms saved in many cases!

Episode source code: https://github.com/corsego/163-turbo-8-instantclick-prefetch/commit/bf7e1b5971aa8aa31341c4ccec96212640514b41
Based on this blogpost: https://blog.corsego.com/turbo-8-instantclick-prefetch

0
Join the conversation
Sign in to leave comments and save lessons to your watchlist.
We collect your email address, name and username to create your account. We do not share your email address with anyone else.