Skip to content

Page Load Order

blx edited this page Dec 9, 2014 · 1 revision

We need to make sure that content is loaded in order of importance, for speed and smoothness, which shouldn't be difficult as long as we're mindful of the document structure and things like max number of parallel connections.

  1. Main content, CSS and top-of-the-page things (mostly in HTML response from server)
  2. Next page(s) in continuous scroll, Twitter feed, smaller widget-type things (AJAX requests)
  3. Socket/long-poll for breaking news, sports scores panel, emergency updates as applicable.

HTML5 also has various prefetch hints that could be applied to things for browsers that support them (Chrome even has prerender).

Clone this wiki locally