This project is not covered by Drupal’s security advisory policy.
Sam Stephenson and DHH requested that we not use the name
Turbolinks. So we renamed the project to
RefreshLess: https://www.drupal.org/project/refreshless. See for background.
Turbolinks makes navigating your web site faster by only loading the parts that change between pages. Uses the Turbolinks technique (pioneered by Rails).
(Note that it does not use the original/official Turbolinks JS, and therefore does not provide the same API yet. It's an alternative implementation of the Turbolinks idea/principles, in a way that makes sense for Drupal.
When clicking a link that points to a URL within the Drupal site, we then keep the current page, but just swap the parts that change between the current page and the next. This means less data on the wire, and — most importantly — less work for the browser.
How does this work?
- Drupal 8 already has all the necessary cacheability metadata, and in particular cache contexts, which describe how each part of the page varies.
- The Turbolinks module uses the cache contexts associated with a particular region to determine whether this region changes compared to the page the user is currently on. It only sends the updated markup for that region if it actually changes.
- This results in hugely improved front-end/perceived performance.
So, unlike in Rails, using Turbolinks requires zero configuration and configuration.
Combined with the BigPipe module (which offers significant improvements for the initial page load), this should make just about any Drupal site feel significantly faster.
- Maintenance status: Unsupported
- Development status: Obsolete
- Downloads: 147
- Last modified: March 23, 2016
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.