How Gmail AJAX works

First they show you the inbox, then in the background they use a POST request and load all your mail messages ( the mail body ) in as a JSON.

That is how they are able to let you jump instantaneously from your inbox to your mail messages without any delay.

I used Firebug to look into this because I have been curious how high trafficked websites handle their AJAX response.

  • Interesting..