1

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

5

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 Mar 31 '15 at 20:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.