same domain. When you click an eligible link, Turbolinks prevents the browser from following it, changes the browser’s URL using the History API, requests the new page using XMLHttpRequest, and then renders the HTML response.
usual. When you follow a link, Turbolinks fetches the page, swaps in its <body>, and merges its <head>, all without incurring the cost of a full page load.
to the window.onload, DOMContentLoaded, or jQuery ready events. Adjust your code to listen for the turbolinks:load event, which fires once on the initial page load and again after every Turbolinks visit.
new <script> elements to the current <head> where they’re loaded and evaluated by the browser. Take advantage of this to install page-specific javascript.
serves two purposes: to display pages without accessing the network during restoration visits, and to improve perceived performance by showing temporary previews during application visits.