Make your site’s pages instant in 1 minute and improve your conversion rate by 1% Before a user clicks on a link, they hover their mouse over that link. When a user has hovered for 65 ms there is one chance out of two that they will click on that link, so instant.page starts preloading at this moment, leaving on average over 300 ms for the page to preload.
instant.page is a lightweight, open-source JavaScript library designed to make website navigation feel instantaneous by using "just-in-time preloading" to anticipate a user's next click.
The main features of this tool include:
Just-In-Time Preloading: The script detects when a user is likely to click a link and begins loading the page's HTML in the background before the click actually happens.
Predictive Desktop Triggers: On desktop, it starts preloading when a user hovers their mouse over a link for 65 milliseconds, giving the page an average of 300ms to load before the user clicks.
Touch-Based Mobile Triggers: On mobile, it triggers preloading as soon as a user starts touching their display, providing roughly 90ms of head start before the finger is released.
"Cheating" Latency: Because the human brain perceives actions under 100ms as instant, this preloading makes pages feel immediate even on slower connections like 3G.
Resource Efficiency: It is highly respectful of bandwidth; it is only 1 kB in size, loads after everything else on the page, and only preloads the HTML (not images or scripts).
Data Saver Respect: The tool automatically detects and respects "Data Saver" modes on user devices and uses passive event listeners to ensure page scrolling remains smooth.
Improved Conversion Rates: By shaving off milliseconds of latency, the tool helps improve sales and engagement; studies from Amazon and Walmart show that removing 100ms of latency can improve sales by 1%.
Dead-Simple Integration: It can be added to any website in about one minute by placing a single line of HTML code before the closing </body> tag.