WebPagetest Forums
When Does Google Consider Page Loaded? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: When Does Google Consider Page Loaded? (/showthread.php?tid=15361)



When Does Google Consider Page Loaded? - dr_proton - 05-08-2018 05:43 PM

I'm running a test in webpage test and the fully loaded time is about 120s because there's a script that is calling the same file every second. I know that webpagetest considers a page fully loaded when no activity happens for a full two seconds.

However, when I run the same site through tools.pingdom.com, the page is considered loaded in about 3s.

How should I interpret this information when optimizing a site for a client?

Thanks in advance


RE: When Does Google Consider Page Loaded? - PPC Management - 07-17-2018 12:33 PM

The DOMContentLoaded event is fired when the document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading (the load event can be used to detect a fully-loaded page). A page can't be manipulated safely until the document is "ready."

I got that from here
https://stackoverflow.com/questions/2414750/difference-between-domcontentloaded-and-load-events