SupeRails

Sdílet
Vložit
  • čas přidán 20. 03. 2024
  • 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: github.com/corsego/163-turbo-...
    Based on this blogpost: blog.corsego.com/turbo-8-inst...

Komentáře • 4

  • @ledockol
    @ledockol Před měsícem

    Цікаві фічі!
    Дякую Ярослав що показав.
    Чекаємо на продовження!

  • @wakematta
    @wakematta Před měsícem +1

    Very cool. I had this idea like 10 years ago and I totally forgot to do something about this idea.

  • @switzerland
    @switzerland Před měsícem

    Ran into a weird issue. Had a page full of links. Instaclick worked as expected but moving the mouse freezed chrome on a medium computer. Firefox was fine. I think there are some issues that need to be addressed. I had to disable it on that page.

  • @tomasvalent3876
    @tomasvalent3876 Před měsícem

    and if anyone is concerned about the number of requests remember Rails caching is your friend ...and ETags don't forget ETags 😇