Warm tip: This article is reproduced from serverfault.com, please click

Not seeing all traffic incoming from a website in the inspector under the network tab?

发布于 2020-11-30 14:53:24

So when I go to a website like, say https://coinmarketcap.com (that displays the prices of cryptocurrencies), in my Chrome Browser, it looks like I dont see all activity going on in the inspector under the Network tab.

Here is a screenshot to visualize the website: enter image description here

I see the prices are updated live on the website (without refreshing), but I don't see any activity in the Network inspector.

There is of course activity when I load the page for the first time, but nothing after that even tho the website dynamically updates the prices? My firsts thought was, that it could be fake updates via a JS script on the client-side, but there are many websites I know where you can't see this, so what's going on here? What types of protocols are used to achieve this, because I know that WebSockets and polling (xhr) always shows up.

A screenshot of the network inspector, just be clear what I mean by that (showing traffic for the first 50 ms (loading time) and then nothing afterwards) enter image description here

Questioner
Frederik
Viewed
0
Rex Pan 2020-12-04 16:12:07

It using Web socket, you filter the request by WS and should see the latest ws connection. Click on it and sees the message for this socket. enter image description here