Re:Show HN: JS library to make your website instant
by devgutt on Saturday February 08, 2014 @01:51PM
(#7202101)
Amazon have done this to improve the performance of dropdown menu. http://bjk5.com/post/44698559168/breaking-down-amazons-mega-...
[ Parent
| on HN ]
Re:Show HN: JS library to make your website instant
by yelnatz on Saturday February 08, 2014 @03:58PM
(#7202695)
This article was really eye opening when I read it a few months ago.
I've always hated menu dropdowns where it would close if you try to skip to the next submenu you've opened, since you hovered on the other parts on your way to the submenu.
So you'd end up having to perfectly 'trace' the menu so it won't close down on you.
Re:Show HN: JS library to make your website instant
by joshuahhh on Saturday February 08, 2014 @05:50PM
(#7203198)
That article says nothing about preloading pages. The speed gains are purely a UI thing -- if you're clever about keeping submenus open even when the mouse leaves the submenu's entry in the main menu, you don't need to provide a delay for menu opening/closing.
Re:Show HN: JS library to make your website instant
by dmethvin on Sunday February 09, 2014 @10:45AM
(#7205827)
I think the Amazon example was being used as an example of the "directional cone", not preloading.
Re:Show HN: JS library to make your website instant
by mcpherrinm on Sunday February 09, 2014 @05:15AM
(#7205056)
A few years ago, I went to a tech demo/hackathon thing. Somebody had some neat experiments with preloading pages speculatively based on user behaviour
The coolest approach given was when a user types in the search box, kick off the request for the full results page if they move their mouse on a motion curve towards one of the results, with some machine learned data on how people move their mouse: Not quite in a straight line, and with some acceleration.