0

I can see on developer tools that Stack Overflow does not make a single XHR request. How do they update content on page with

4 questions with new activity?

6
  • 1
    And I'm for sure, Meta will not provide that information... -- Then why did you ask this question.
    – devnull
    Apr 22, 2014 at 19:07
  • 1
    Because, Stackoverflow suggest me to ask here..... Apr 22, 2014 at 19:09
  • 7
    WebSockets. With a fallback to XHR when needed.
    – Oded
    Apr 22, 2014 at 19:11
  • Thanks @Oded for reply... I'm very new on WebDevelopment... I will very glad if you provide few reference to study on that question.. Apr 22, 2014 at 19:14
  • 3
    en.wikipedia.org/wiki/WebSocket
    – Oded
    Apr 22, 2014 at 19:17
  • 2
    @Oded y u post answer as comment? :(
    – Adam Lear StaffMod
    Apr 22, 2014 at 22:17

1 Answer 1

5

We use WebSockets for the realtime updates.

If a browser does not support them (all modern ones do) or they fail, we fallback to XHR.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .