performance - How does Stack Exchange generate load new pages so fast? -


look @ profile pages of users have asked more 10 questions. (e.g., https://webapps.stackexchange.com/users/2496/tobeannounced)

now try skipping questions 10-20, or page 2 of questions have asked.

the load new page instantaneous.

how accomplished?

simply loading questions when first page loaded additional pages called load fast? in other words, additional pages pre-loaded?

using network tab of firebug firefox, can see http requests being made. turned on can see clicking next link fires off http request grabs next page of questions (i.e. not preloading questions initial page load). it's small request, small response, , server replies really quickly, why happens instantaneously.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -