U
U
Umid2017-01-27 11:55:49
HTML
Umid, 2017-01-27 11:55:49

Why send favicon via server? Why not specify in the template?

Good afternoon.
The question arose: why does the Node.js server make a favicon request at all?
After all, you can immediately specify in the html template? Or is it about something else?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2017-01-27
@k12th

> why does the Node.js server make a favicon request at all?
This is not done by the server, but by the browser :) It would be strange if the server went after the favicon.
> After all, you can immediately specify in the html template?
It is possible, but what will it change? The browser will still try to show it and will send requests, and the server will answer that there is no favicon, like in that joke about the accordion. Do it already , don't torture the poor fellows.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question