google chrome send request on autocomplete of the address bar?

307 views
Skip to first unread message

Doron Sinai

unread,
Sep 21, 2014, 7:51:02 AM9/21/14
to nod...@googlegroups.com
Hi,

I noticed a very strange behaviour today, I have a very simple node-express server running on a mac.

Today I notice that when I start to type in the url for a request on localhost, chrome suggest some completion, I don't see any request going out in chrome developer tools network tab but I can see that nodejs is responding to this URL (I have console.log on the server side)

Any one know whats going on?

Thanks,

Doron

Aria Stewart

unread,
Sep 22, 2014, 12:41:39 AM9/22/14
to nod...@googlegroups.com
Chrome does all kinds of clever pre-fetching -- I suspect you can find some internal chrome pages that show the behavior. It won't show in the network console though since chrome's optimizations never show there.

Aria

greelgorke

unread,
Sep 22, 2014, 2:02:40 PM9/22/14
to nod...@googlegroups.com
i might be wrong here and there but as Aria already said, Chrome does much to improve it's own performance.

One thing is probabilistic preloading of webresources. It tries to guess, where do you wanna go next and preloads the linked resources https://support.google.com/chrome/answer/2392284?hl=en

i assume the same happens when you type an url. it shows you  a sugestions list, which is also probabilistic, and starts to load, what it thinks is the best guess. may be even the first few best guesses at once.

am i right folks?
Reply all
Reply to author
Forward
0 new messages