By default, all internal links will be funneled through Turbolinks, but you can opt out by marking links with data-no-turbolink.
No jQuery or any other framework
Turbolinks is designed to be as light-weight as possible (so you won't think twice about using it even for mobile stuff). It does not require jQuery or any other framework to work. But it works great with jQuery or Prototype or whatever else have you.
The page:update event
Triggering a Turbolinks visit manually
You can use
Turbolinks.visit(path) to go to a URL through Turbolinks.
Available only for pushState browsers
Like pjax, this naturally only works with browsers capable of pushState. But of course we fall back gracefully to full page reloads for browsers that do not support it.
Work left to do
- CSS/JS asset change detection and reload
- Add a DOM cache for faster back button
- Remember scroll position when using back button