node.jsserver-response

If server response is just a simple JSON, then why there are 5 different resources showing in my network tab?


I am learning node and wrote a simple app which returns just JSON data as response.

There is no any error but I am not getting why there are 5 different resources (content.min.css, favicon.ico, jsonview-core.css, options.png, etc) showing in my network tab. Can anyone help me to understand this.

If possible how can I avoid sending these extra resources and just send the JSON data?

Screenshot


Solution

  • It's because of the chrome extension that I am using.


    I found some interesting about favicon.ico file:

    Modern browsers will show an icon to the left of the URL. This known as the 'favicon.ico' and is typically fetched from website.com/favicon.ico. Your browser will automatically request it when browsing to different sites. If your browser receives a valid favicon.ico file, it will display this icon. If it fails, it will not display a special icon.