Using the Speculation Rules API to Improve Performance

If you have a multi-page site and want to improve performance when navigating between pages, I recommend using speculation rules to prefetch and render pages on hovering over a link. This can substantially reduce load times and improve the user experience. I&rsquo;ve added it to this site and switching between pages is now even faster. Here&rsquo;s how you can implement it - just stick this script…