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

21/03/2024 (23 days ago)
·
hotwire turbo

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
Sign in to join the conversation