InstantClick — screenshot of instantclick.io

InstantClick

InstantClick is a JS library that makes your website appear instant by preloading links on hover or touch. It cleverly reduces perceived latency for a smoother user experience.

Visit instantclick.io →

Questions & Answers

What is InstantClick?
InstantClick is a JavaScript library designed to enhance website navigation speed. It preloads pages when users hover over links on desktop or touch them on mobile, making subsequent page transitions feel instant.
Who should use InstantClick?
InstantClick is suitable for website owners and developers aiming to improve user experience by mitigating perceived loading times. It particularly benefits sites with frequent internal navigation, where latency is a primary bottleneck.
How does InstantClick speed up websites?
InstantClick anticipates user clicks by preloading pages during the brief interval between a user hovering over or touching a link and actually clicking it. It uses a combination of pushState and Ajax (pjax) to replace only the body and title, avoiding full page reloads and recompiling scripts.
When is InstantClick most effective?
InstantClick is most effective on websites where user experience is hampered by network latency rather than bandwidth limitations. It excels in scenarios where visitors frequently navigate through internal links, offering a seemingly instantaneous browsing experience.
What happens if a browser doesn't support InstantClick?
If a browser does not support InstantClick, the library fully degrades. This ensures that navigation defaults to standard browser behavior without impacting the website's functionality or user experience. InstantClick supports over 80% of browsers globally.