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.

Put this HTML snippet just before </body>:
<script src="//instant.page/2.0.1" type="module" defer integrity="sha384-4Duao6N1ACKAViTLji8I/8e8H5Po/i/04h4rS5f9fQD6bXBBZhqv5am3/Bf/xalr"></script>
Copied. Now place it just before </body> on your pages.