Current time: 03-01-2021, 06:00 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slow loading HTML
02-16-2021, 10:24 AM
Post: #1
Slow loading HTML
Hi all,

New to the tool.

Trying to increase LCP speed.

My waterfall shows the slowest element is that blue bar at the top (HTML). Taking 2 seconds to load.

I noticed for other sites that HTML part loads a lot faster.

My question is, how do I find out what's making HTML load slowly? It doesn't seem to break that part down.



Attached File(s) Image(s)
Find all posts by this user
Quote this message in a reply
02-18-2021, 09:04 AM
Post: #2
RE: Slow loading HTML
That is the "back-end time" which is the application itself and how long it takes to generate the page. It's a combination of the hosting provider and how beefy the hardware is (shared hosts are notoriously slow) and the application itself (wordpress, etc).

It's all a black-box to the browser so there's no way to provide additional information from the outside. An APM solution like New Relic can help (or sometimes just tuning the app code and server without it).
Visit this user's website Find all posts by this user
Quote this message in a reply
02-18-2021, 02:49 PM
Post: #3
RE: Slow loading HTML
I noticed you are using CloudFlare on your site. FYI, by default Cloudflare will NOT cache that root html content - because it "could change". They don't know your website/cms and what you want. If you click on the HTML request and look at the response headers, you will see the header:
  • cf-cache-status: DYNAMIC

The above header shows it is being regarded as a dynamic page and not cached. That also means the 2 seconds you are seeing includes the connection time to cloudflare (DNS+TCP CONNECT+TLS NEGOTIATION) plus the backend request from CloudFlare to origin (DNS+TCP CONNECT+TLS NEGOTIATION). Requests to origin will always be slower and also slower for longer geographic distances (if your origin is far away from the test location).

You can add a page rule to CloudFlare to "Cache Everything" in your account which will cause the html caching to be more aggressive. That's just not the default behavior in case your website is updating frequently...

It also looks like you are using WordPress. Personally, I don't use wordpress, so I can't recommend any plugins or anything... but you may want to go and do some research on "wordpress caching plugins" that can cache your pages as static files and therefor respond quite quickly when a page request comes in (instead of parsing all the PHP and rendering everything on the fly per request). Again I can't recommend any specific solution as I don't know wordpress.

And as @pmeenan said, your hosting "quality" will impact wordpress performance. Lower cost shared hosts will be lower performance. Dedicated hosting or semi-dedicating hosting will cost more but also perform better and more consistently.

If my post helps you, click the little "user +" icon on the lower left to give me a rep!
Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

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