I have a client-server application in Flask, and when I do a get to the server, another get is done by asking the favicon of the address.
I would like to know if you can not automatically get this favicon get.
I have a client-server application in Flask, and when I do a get to the server, another get is done by asking the favicon of the address.
I would like to know if you can not automatically get this favicon get.
By my tests here, apparently if you set a fake image for the favicon you will prevent the browser from making the default request. To do this, it would look something like:
<link href="data:image/x-icon;base64" rel="icon" type="image/x-icon" />
So when trying to load the favicon, the browser will identify that the data it needs to load the image is already present in the HTML and omits the request.