With barba.js we can start prefetching the new page on the user's mouseover/touchstart on the link.

Since there is a 100-300ms delay during the user hover and the click, we can use this time to start prefetching the page. Most of the time this dead time is enough to get the next page ready!

Enable it calling:


Be wise with the prefetching. Do not use it if you have a long list of links.