Closed Bug 580112 Opened 14 years ago Closed 14 years ago

Fire off DNS prefetch for items shown in Awesome bar?

Categories

(Firefox :: Address Bar, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 481503

People

(Reporter: jduell.mcbugs, Unassigned)

References

Details

Chrome apparently prefetches DNS for items as they are shown in the awesome bar: http://google-chrome-browser.com/why-google-chrome-fast-spotlight-dns-pre-resolution-0 We may want to consider doing the same. This should just be a matter of using nsHTMLDNSPrefetch, unless we need to call it from JS (in which case I think we'll need to add an IDL to export nsHTMLDNSPrefetch to JS). I'm assuming we wouldn't want to start prefetching DNS until the user has typed at least several characters. But I'm not at all clear on the exact number: 2? 3? And/or we probably want to set a max # of prefetches that we'll do for this. Please feel free to add similar bugs for different products, as needed. (I assume fennec is covered by the same code?)
(In reply to comment #0) I think this might be a dupe, but... > We may want to consider doing the same. This should just be a matter of using > nsHTMLDNSPrefetch, unless we need to call it from JS (in which case I think > we'll need to add an IDL to export nsHTMLDNSPrefetch to JS). We'd need this exposed to JS. > I'm assuming we wouldn't want to start prefetching DNS until the user has typed > at least several characters. But I'm not at all clear on the exact number: 2? > 3? And/or we probably want to set a max # of prefetches that we'll do for > this. We only show up to 12 results.
dup of bug 481503?
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.