I am pretty much interested to know what is the background script that Super User (any Stack Exchange community for that matter) is using to automatically update the content of webpage without reloading the page?

  • 2
    I don't know exactly how it works. However I'm sure that it uses AJAX. Whenever an event (new question, new answer, etc.) happens then through AJAX it updates the content. If you want to know about AJAX you can start here.
    – jcbermu
    Commented Apr 6, 2016 at 11:20
  • 1
    The technologies used are AJAX for content delivery and Websockets for user notifications. The script itself depends on the back-end configuration.
    – Spokey
    Commented Apr 6, 2016 at 11:42
  • User notification you mean the response we get for any activity done ? @Spokey
    – learner1
    Commented Apr 6, 2016 at 11:44
  • 3
    @learner1 For example the pop-up that says how many new questions were asked since you last refreshed, the notification when someone up/down votes you or you get new reply. Clicking the actual notification will then trigger an AJAX request to return the data. Websockets create an on-going connection to the server to receive and respond to messages, but it's rarely used to actually deliver the content (use ajax instead)
    – Spokey
    Commented Apr 6, 2016 at 11:49
  • 1
    @Spokey Actually, it's called "Francis" Commented Apr 6, 2016 at 16:44
  • 1
    builtwith.com/superuser.com :) Commented Apr 6, 2016 at 18:33

1 Answer 1


Super User is part of the Stack Exchange network. Stack Exchange is a closed-source platform, and is built on a variety of closed and open source software. The general architecture is described on Meta Stack Exchange and is updated periodically:

Which tools and technologies are used to build the Stack Exchange network

Background refresh is powered by websockets, using a custom C# websockets server developed in-house called NetGain, which is now open source. Dynamic interface elements are achieved using jQuery.

You must log in to answer this question.

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