Current time: 08-08-2020, 08:48 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JavaScript Blocking
06-24-2014, 02:36 AM
Post: #5
RE: JavaScript Blocking
All of the browsers have a preload scanner that scans ahead in the document for resources that they are going to need and then it's up to the browser to figure out what order it wants to download them in.

Chrome for example:
- Loads all non-async JS and external CSS that it can find before anything else
- Prioritizes images that are laid out and visible in the viewport (once the main thread gets to layout)

IE 7 was the last browser that actually requested resources as they were processed - it was a HUGE performance win for the browsers to fetch the resources with the preload scanner. It still executes script and does layout in the order defined in the HTML as it is parsed, it's just the network fetching that they try to optimize to have the resources ready when they are going to be needed.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
JavaScript Blocking - BITS - 06-20-2014, 05:14 PM
RE: JavaScript Blocking - BITS - 06-20-2014, 09:59 PM
RE: JavaScript Blocking - pmeenan - 06-20-2014, 10:32 PM
RE: JavaScript Blocking - BITS - 06-20-2014, 10:40 PM
RE: JavaScript Blocking - pmeenan - 06-24-2014 02:36 AM
RE: JavaScript Blocking - BITS - 06-24-2014, 03:07 AM

Forum Jump:

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