Google foobar
google.com
google.com
Is the link still appearing? (I can't login to my google account now to check)
By the way — if you go too long without trying one, you get this:
foobar:~/ tedmiston$ request
Requesting challenge...
Your invitation has expired. Search on to try again later.
Edit - Even Google engineers make errors: foobar:~/ tedmiston$ status
Error(400): Bad request.
I submitted feedback on it. Seems like most commands fail with 400 if your invitation is expired.Good luck.
If you logged in after clicking the link on an unnamed app having unknown capabilities, and of unknown provenance, you have failed the test.
It's basically a black box, and any suggestion that it ought to be trusted "because Google" is naive in the extreme.
I had to ask if he wanted the technically correct answer or the one I bet he (the google recruiter) was given by his engineers. Sadly his google engineers had given him the wrong answer.
Every modern browser I know of automatically tries to fetch favicon.ico.
Don't really understand why either 1 or 3 would be incorrect answers. But then again... I don't work at Google.
- 3 seems to be the obvious answer.
- 1 for keep alive stuff but even with a single connection, there are multiple requests. Also, nobody said the images were on the same server.
- Did I have these images on cache? Maybe 1 then.
- 4 with favicon request (now we are nitpicking)
- Hey maybe each resource is behind 5 http redirects.. So 15 would be correct I guess?
- Base64 encoded images are fun too.
They really have a "set in stone correct answer" and do not discuss these with people?
(I think that's all still true. Browsers move fast.)
This front-end doc [1] from Google with a similar example counts a sample page with (1) html, (2) one external css file, and (3) one external image as "a minimum of 2 roundtrips":
> As a result, this page incurs a minimum of two roundtrips before it can be displayed. Once again, the CSS file may take multiple roundtrips, hence the emphasis on "minimum".
> Notice that our "awesome photo" did not block the domContentLoaded event. Turns out, we can construct the render tree and even paint the page without waiting for each asset on the page: not all resources are critical to deliver the fast first paint. In fact, when we talk about the critical rendering path we are typically talking about the HTML markup, CSS, and JavaScript. Images do not block the initial render of the page—although we should also try to get the images painted as soon as possible.
[1]: Analyzing Critical Rendering Path Performance https://developers.google.com/web/fundamentals/performance/c...
I wonder if there is a single "correct" answer.
If I'm using lynx, its 1... 1 request.