June 2021
Intermediate to advanced
398 pages
9h 35m
English
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 ...