-
Notifications
You must be signed in to change notification settings - Fork 23
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.
- Main content, CSS and top-of-the-page things (mostly in HTML response from server)
- Next page(s) in continuous scroll, Twitter feed, smaller widget-type things (AJAX requests)
- 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).