MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Long "DOM Content Loaded" time due to image loading?
Current time: 03-05-2021, 02:41 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Long "DOM Content Loaded" time due to image loading?
11-23-2017, 05:26 PM
Post: #1
Long "DOM Content Loaded" time due to image loading?
Dear all,

for my webpage, "DOM Content Loaded" takes the most of the whole time. Ca. 4,5 seconds. This result is reproducible (see attachment)
(Due to company rules I had to erase the file names for "more anonymity".)

Info: This is an Angular 1.5 single-page website. All JPG-Images are referenced as "background url" in the CSS.

The result is somewhat unclear to me. I have the following questions:
Despite having googled and read something about "DOM Content"-Event, it is still not clear enough what happens here. What exactly is the browser doing and how can I optimize it?

Is the long period of "DOM Content Loaded" somehow related to loading of the images?
I suspect something like that because, on my local test environment, it is much faster. Also, the output of Chrome dev tools (Network/Performance) looks somehow different. Which leads me to my last question:
What's the easiest way to run the Webpage test or something similar on my local development machine for localhost?

Deploying the webpage test on a local server with all test agents doesn't seem so easy a task.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Long "DOM Content Loaded" time due to image loading? - cis - 11-23-2017 05:26 PM

Forum Jump:

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