InstantPage is just-in-time preloading — it preloads a page into the browser right before a user clicks on it.
This feature can be disabled for any Accelerated Domain on request. Get in touch with Servebolt Support if you want this feature disabled.
This feature can create an increase of Dynamic Requests. For most sites running Accelerated Domains the increase is insignificant.
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 InstantPage starts preloading at this moment, leaving on average over 300 ms for the page to preload.
A user starts touching their display before releasing it, leaving on average 90 ms for the page to preload.
Pages are preloaded only when there’s a good chance that a user will visit them, and only the HTML is preloaded, being respectful of your users’ and servers’ bandwidth and CPU. It uses passive event listeners and requestIdleCallback so that your pages stay smooth. It respects data saver mode. It’s 1 kB and loads after everything else.
InstantPage is configured to not preload links it finds that include a query string, and it does not preload external links.
To manually blacklist a link that triggers an action add a
data-no-instant attribute to them:
This is to be used mainly if you have , otherwise by default links with a query string are already blacklisted.
If you want to let all pages with a query string be preloaded, add a data-instant-allow-query-string attribute to the
If you’d like to allow only select links with a query string to be preloaded, add a
data-instant attribute to them: