Pregunta

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

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
scroll top