Closed Bug 737548 Opened 12 years ago Closed 9 years ago

pre connect http sessions on link hover

Categories

(Core :: Layout, enhancement)

13 Branch
x86_64
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 881804

People

(Reporter: mcmanus, Unassigned)

References

Details

(Keywords: privacy-review-needed, Whiteboard: [Snappy:P2][http-conn])

On Tue, Mar 20, 2012 at 12:44 PM, Jason Duell <jduell@mozilla.com> wrote:
How good are we at figuring out if a user is about to click a link (vs moving the mouse over it en route to other stuff)?  If we have a high % chance of guessing when a user is about to click on a link, we could also speculatively (and inexpensively) pre-open a TCP connnection for it.   I seem to recall some stats that it actually takes users a fraction of a second to focus precisely on a link?
        
roc then says:
We have API to easily find all the DOM elements within any given rectangle of the mouse cursor, so without too much trouble we could implement "if the mouse is near a link for more than a given amount of time, try preconnecting it".

..

The layout API in question is nsLayoutUtils::GetFramesForArea .. the necko api is io-service::speculativeConnect from bug 723628
Whiteboard: [Snappy:P2]
Whiteboard: [Snappy:P2] → [Snappy:P2][http-conn]
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.