Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instant.page for easy UI speed improvement #1262

Open
david-a-wheeler opened this issue Feb 9, 2019 · 0 comments
Open

Add instant.page for easy UI speed improvement #1262

david-a-wheeler opened this issue Feb 9, 2019 · 0 comments

Comments

@david-a-wheeler
Copy link
Collaborator

The instant.page JavaScript is a tiny piece of JavaScript that causes preloading of a page just before the user selects it. The instant.page website explains it this way:

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.
On mobile, a user starts touching their display before releasing it, leaving on average 90 ms to preload the page.

The JavaScript is MIT-licensed. It doesn't work in some situations, but that just means it falls back to "normal operation".

This looks like something that would speed up interaction from a human point of view, even though our performance measures won't reveal any change. But it looks like a good idea for the humans :-).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant