Cloudflare app to include instant.page library - click here to install on your website.
instant.page is a free and open source library that uses just-in-time preloading, meaning it preloads a page right before a user clicks on it. Pages are preloaded only when there's a good chance that a user will visit them, and only the HTML is preloaded, being respectful of your users' and servers' bandwidth and CPU. It uses passive event listeners so that your pages stay smooth and doesn't preload when the user has data saver enabled.