Current time: 01-22-2020, 07:03 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sometimes serial, sometimes parallel
12-02-2014, 09:28 AM
Post: #1
Sometimes serial, sometimes parallel
Hi All,

Anyone got any ideas why in this waterfall there are periods of serial download activity (e.g. resources 7-13) and in other places parallel (e.g. 13-18)?

Ideally I'd want resources 7-13 to load in parallel, just this would take over a second off the response time.

How to fix? Any help appreciated.

KR,
Ben
Find all posts by this user
Quote this message in a reply
12-03-2014, 01:12 PM
Post: #2
RE: Sometimes serial, sometimes parallel
The page contents won't download until after the CSS/JS needed to display the page are completely downloaded. However Chrome has a 'look ahead' feature that will guess what the browser will need to download, it will do this in serial or blocking, creating the waterfall you see.

This is why after the js file is downloaded, the resources will go back to loading in parallel. To decrease this impact you could split the large js file into two or more files.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-08-2014, 01:04 PM
Post: #3
RE: Sometimes serial, sometimes parallel
Thanks clubberz, nice explanation.

Ben
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)