instant.page

Intensity

By default, instant.page preloads 65 ms after hovering a link. You can change that.

Preloading when the mouse is pressed

To preload when the user starts pressing their mouse button, right before releasing it, add data-instant-intensity="mousedown" as an attribute to the <body>.

This leaves on average 80 ms for the page to preload.

To only preload this way and not preload on mobile, use data-instant-intensity="mousedown-only".

Adjusting the delay on hover

For some sites with a lot of huge click targets, such as some e-commerce sites, the 65 ms rule doesn’t apply: it will preload more than two times for each page visited.

To increase the delay on hover, pass the number of milliseconds in the attribute, like so for 150 ms: data-instant-intensity="150".

Alternatively, if you don’t care about making a lot of requests, you can decrease it. Setting it at 0 ms will make nine times as much requests than without preloading.

Put this HTML snippet just before </body>:
<script src="//instant.page/2.0.0" type="module" defer integrity="sha384-D7B5eODAUd397+f4zNFAVlnDNDtO1ppV8rPnfygILQXhqu3cUndgHvlcJR2Bhig8"></script>
Copied. Now place it just before </body> on your pages.