What Is Turbo Drive?
Turbo Drive is the new name for what used to be known as Turbolinks. When Turbo Drive is active, it captures every clicked link or form submission on a page, receives the response in the background, extracts the body of the request, and replaces the existing page body with the new response. It also does some behind-the-scenes bookkeeping to keep the Back button working and manage caches and whatnot.
The goal is that by using Turbo Drive, page navigation is both actually faster, because large assets in the header of the page aren’t reloaded, and also perceived as faster by the user because the page doesn’t flicker or go blank. If you look at the chapter_01/01 version of our page and try the “Make Favorite” feature, you probably ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access