Home >Web Front-end >JS Tutorial >I Struggled with Page Speed Optimization until I Found Out about These oncepts
I was tasked with page optimization for a couple of pages. Page optimization is quite important if you want your customers to stay on your site, and it also improves SEO Rankings, Google's research has shown that 53% of mobile sites are abandoned altogether if they take longer than 3 seconds to load.
To avail all such benefits, I processed my page into Google PageSpeed Insights. The scores were bad, and there were a lot of unknown terms crowded around the page.
All these new terms were very alien to me and I didn't know what to do with it.
Many people often face this situation, People don't know what these new sets of words mean. However, I realized that unlocking these words gave a lot of new meaning to my pagespeed diagnostics.
So, in this article, I will show you the terms that you need to know to get back up on your feet on this Pagespeed optimization journey.
When we run our page through the Pagespeed analytics tool, we see the following analytics.
It's important to know these terms, as they will help you figure out page performance.
Here is an easy way to remember it: FLTCS, pronounced "Flat-Tics."
Let's go through FLTCS one by one.
Imagine you’re at a theatre for a play. The First Contentful Paint (FCP) is like the moment when the stage lights come on and you can see the first actor or prop.
It’s the first sign that the show is starting and something meaningful is appearing for you to see. If the lights come on quickly, you know the performance is underway, and you're ready to enjoy the show.
Similarly, on a webpage, FCP is about how quickly you see the first piece of content after you arrive. If this happens fast, it means your page is engaging users right away.
In the above Image, you can see that the FCP happens in the second frame when the content is loaded.
We can break this Term into different pieces, to understand better.
First: FCP marks the first appearance of visible content on a webpage after you navigate to it.
Contentful: It signifies when meaningful content, such as text, images, or graphics, becomes visible to the user.
Paint: Similar to an artist starting to paint on a canvas, FCP is the moment when the browser starts rendering and displaying the initial elements of the webpage.
Think of LCP as the moment when the biggest and most important sign in a new store is fully visible as you walk by.
Imagine you are passing a store, and you are eagerly waiting to see the biggest sign that tells you what the store is all about. If it takes too long for that big sign to appear, you might get frustrated and lose interest.
To keep shoppers engaged, the store should ensure that the big sign is up and visible quickly.
Similarly on a webpage, the Largest Contentful Paint is about making sure the biggest and most important part of your content is fully loaded and visible to users as soon as possible.
Read the remaining from our full article
The above is the detailed content of I Struggled with Page Speed Optimization until I Found Out about These oncepts. For more information, please follow other related articles on the PHP Chinese website!