MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - onload before document complete, 8 sec. gap?

WebPagetest Forums

Full Version: onload before document complete, 8 sec. gap?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
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/.
Reference URL's