Current time: 05-30-2017, 02:57 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
onload before document complete, 8 sec. gap?
12-13-2016, 06:41 AM
Post: #1
onload before document complete, 8 sec. gap?
Typically, I find document complete and onload to be similar, but I'm not sure why there's such a difference between them in this result. What is actually measured for document complete? The onload event in this case appears to occur shortly after 2s, the document complete occurs later after 11s.

https://www.webpagetest.org/result/16120...5/details/

Any ideas what could cause this behavior? Thanks for your help!
Find all posts by this user
Quote this message in a reply
03-15-2017, 06:12 PM
Post: #2
RE: onload before document complete, 8 sec. gap?
Looking at the Chrome DevTools Timeline (Performance), there are scripts in http://www.sears.com/ that insert iframes after the onload event: s_code-min.js, utag.js (Tealium tag manager), etc. WebPagetest has reported the onload event for the top site but Document Complete seems to wait for all of these iframes to finish loading.

The initial view doesn't seem to change visually after onload, except for the "Members earn 20% in points on Sears Marketplace purchases" banner. However, inserting iframes dynamically triggers the busy indicators in Chrome and Firefox - see https://www.stevesouders.com/blog/2013/0...dicators/.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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