InstantClick – fast response! Make your website different

common problem zero six hundred and thirty-two

InstantClick is a small JavaScript library that uses pushState and Ajax technology. This combination is called Pjax。 Before a visitor clicks a link, the mouse will hover over the link. There is usually an interval of 200ms~300ms between the two events. InstantClick Use this time interval to preload the page, so that when you click the page, the page has already been loaded locally, and of course the presentation will be fast, greatly accelerating the response speed of your website.

 InstantClick – fast response! Make your website different

Example of use:

 ... <script src="instantclick.min.js" data-no-instant></script> <script data-no-instant>InstantClick.init();</ script> </body> </html>

Download address:

Message from netizens:

I would like to comment:

◎ Welcome to participate in the discussion. Please express your views and exchange your views here.
 Verification Code