When viewing the questions for a tag on SE networks, every now and then you will get a message at the top:
n questions with new activity.
However the weird thing (to me) is that I don't see any network requests made. How exactly is this accomplished?
StackOverflow questions with new activity
1 Answer 1
You're not seeing requests because it's not making any; the page is maintaining an open Web Socket connection to the server, and the updates are being pushed from the server to your browser, rather than downloaded at your browser's request.
-
I had a feeling this is what was happening, but didn't know what it was called. Thanks for the info.Mike– Mike2015年03月31日 20:54:38 +00:00Commented Mar 31, 2015 at 20:54
Explore related questions
See similar questions with these tags.