Current time: 01-28-2020, 07:24 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Elements Seem to Load Willy-Nilly Depending on Location
08-26-2014, 06:00 AM
Post: #2
RE: Elements Seem to Load Willy-Nilly Depending on Location
You're seeing the results of the preload scanner. As it is currently (in Chrome) it treats all scripts as high priority, regardless of where it finds it in the document : https://code.google.com/p/chromium/issue...?id=317785

I literally just set a patch for review today to hopefully improve things: https://codereview.chromium.org/457413002/

All of the browsers (post-IE 7) have a fair bit of leeway on the order that they choose to download resources to try and get the page to be interactive and render as soon as possible so you will see things behave differently depending on what browser you test with (and even with the same browser depending on the timing and sequence of events).

There's ongoing work to let site owners provide hints about "important" and "less important" content (layzload, defer, async, etc) so it's a very active area right now.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Elements Seem to Load Willy-Nilly Depending on Location - pmeenan - 08-26-2014 06:00 AM

Forum Jump:


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