How to improve Largest Contentful Paint for a better page experience

  Рет қаралды 48,592

Google Search Central

Google Search Central

Күн бұрын

Largest Contentful Paint is a metric that measures how quickly a page’s main content loads and renders (or paints) most of its visual elements to the screen. Learn more about what a good Largest Contentful Paint score is, how to measure your website page’s Largest Contentful Paint, and how to optimize servers, networks, and more to improve your page’s Largest Contentful Paint.
Chapters
0:00 Introduction
2:30 What is Largest Contentful Paint (LCP)
4:08 How is LCP measured
4:37 What is a good LCP score
5:55 How to find your LCP score
8:49 Elements that affect LCP
9:00 Servers
9:43 Networks
11:33 Front end code
19:00 Edgecases
21:48 Conclusion
Learn more:
Largest Contentful Paint documentation at web.dev → goo.gle/3t85Jaa
CrUX Report → goo.gle/3mRQelN
Optimize LCP → goo.gle/3DKtFoT
Search Console signup → goo.gle/3DH6egu
Workbox → goo.gle/3zFHz9D
Learn more about optimizing your site's caching →goo.gle/3BQwUcX
Phil Walton's Cache first service worker blogpost → goo.gle/2WMNlry
Efficiently load third-party JavaScript → goo.gle/3jDgoq8
Serve images in modern formats → goo.gle/3kNNXFB
Watch more Getting started with Page Experience → goo.gle/3xgTJUu
Subscribe so you don’t miss an episode Getting started with Page Experience → goo.gle/SearchCentral
#CoreWebVitals #WebDev #PageExperience
product: AMP - Page Experience; fullname: Patrick Kettner; re_ty: Publish;

Пікірлер: 50
@DarinPirkey
@DarinPirkey 2 жыл бұрын
Not sure who this guy is, but keep him around. Well done video.
@patrickkettner8398
@patrickkettner8398 2 жыл бұрын
:D thanks
@BBI-Brandboost
@BBI-Brandboost 2 жыл бұрын
A very informative video and is something we have been taking into consideration since Google implemented their page experience update.
@gaborom
@gaborom 2 жыл бұрын
I didn't think about creating a GA Event to measure LCP improvements before. I will search for info on how to implement it. Thanks!
@arinium
@arinium 2 жыл бұрын
Thanks a lot! A great video and a great way to explain things!
@WickyDesign
@WickyDesign 2 жыл бұрын
Great video! Tons of useful information.
@sanjaykumarkumarskumar601
@sanjaykumarkumarskumar601 Жыл бұрын
Google
@rickmorphe-vy1fy
@rickmorphe-vy1fy 4 ай бұрын
🎉🎉🎉🎉❤ the power of. Beautiful music ❤🎉🎉🎉❤
@mio...
@mio... 2 жыл бұрын
I watched this 22 minutes video for more than 2 hours. The best video on the topic by far! Thanks
@patrickkettner8398
@patrickkettner8398 2 жыл бұрын
So glad to hear!
@dannmarceau
@dannmarceau 2 жыл бұрын
That's pretty typical for me as well! I like to "understand."
@mio...
@mio... 2 жыл бұрын
@@dannmarceau to understand, and then i go to my 92 yo grandma to explain her LCP
@Theneerajrchandran
@Theneerajrchandran 2 жыл бұрын
Wow something I was in search for. 👍👍👍👍👏👏👏👏👏👏👏
@patrickkettner8398
@patrickkettner8398 2 жыл бұрын
Super glad it was useful! Please do let us know if you have any questions
@Rafaelorenzoni
@Rafaelorenzoni 2 жыл бұрын
Thank's for the video!
@PradeepSonawane8
@PradeepSonawane8 2 жыл бұрын
Great video, your way of explaining things is awesome! 👌
@dannmarceau
@dannmarceau 2 жыл бұрын
Thank you so much, these videos are great for newbies and dunder-heads such as myself, lol.
@patrickkettner8398
@patrickkettner8398 2 жыл бұрын
So happy they are useful!!
@taofeekjunaid1388
@taofeekjunaid1388 Жыл бұрын
Awesome. I really need to re-watch the video
@henrihelvetica5835
@henrihelvetica5835 Жыл бұрын
Thank you for using WebPageTest Patrick!
@france976
@france976 Жыл бұрын
6:43 how to popup that window to search for core web vitals overlay? NVM I found it: F12 to open devtools, then CTRL+SHIFT+P to open the popup to type "core" into.
@NationFirstAlways-qp9xx
@NationFirstAlways-qp9xx 2 жыл бұрын
Sir, Are cache plugins in a CMS like WordPress, an efficient substitute for writing any code that can help lower our LCP? Warmest regards, Forever.
@mizanulhasan6588
@mizanulhasan6588 2 жыл бұрын
Amazing
@MistyMeanour
@MistyMeanour 2 жыл бұрын
Excellent video, thank you! May I ask what the software/interface is at the 17:26 mark?
@KlaudiaToth-ir3ow
@KlaudiaToth-ir3ow Ай бұрын
Hboi
@KlaudiaToth-ir3ow
@KlaudiaToth-ir3ow Ай бұрын
1:26 1:30
@ib4112
@ib4112 2 жыл бұрын
Wow what an insight. Could you please tell us how we can use piece of JS code to measure LCP as you mentioned in video... Do we need to create GA event for i am bit lost if you can share an example how we can do that would be great.. at present i keep check on LCP using PageSpeed or GTMatrix etc.
@patrickkettner8398
@patrickkettner8398 2 жыл бұрын
Hi! Really depends on the infrastructure you are using, (v4 vs universal, etc). But in general, once you have the value discussed starting at 5:55, you want to upload that to google analytics. You don't _need_ to change anything in analytics to send that value, you can just send an Event hit using the Google Analytics js api (i.e. ga('send', {ec: 'Web Vital Info', el: 'lcp', ev: THE_NUMBER_YOU_GOT_EARLIER})
@ib4112
@ib4112 2 жыл бұрын
@@patrickkettner8398 Thanks Patrick, I use both version of GA on different websites. I will try it.
@ib4112
@ib4112 2 жыл бұрын
@@patrickkettner8398 I tried to implement this through GTM but it script generates error on multiple lines "This language feature is only supported for ECMASCRIPT_2015 mode or better: arrow function"... Sorry i am not a JS guys so but hard for me must be easy for other guys
@patrickkettner8398
@patrickkettner8398 2 жыл бұрын
​@@ib4112 sorry about that - the arrow function is just a different syntax for writing a javascript function - i.e. "(FOO, BAR) => alert(BAR)" is the same as "function(FOO, BAR) { alert(BAR) }", just a bit nicer to write. You. can change the () => {} version to standard JS functions to get past that error. If you share a link to a code sample, I may be able to help more
@claudinejoly4265
@claudinejoly4265 10 ай бұрын
​@@ib41121:06
@franciscoisaacdominguezjua1975
@franciscoisaacdominguezjua1975 8 ай бұрын
Muchas gracias realmente necesario.
@SarahThornburg
@SarahThornburg 2 жыл бұрын
Does anyone know how to set up the custom event to track the largest contentful paint in Analytics as he mentions at the very end?
@patrickkettner8398
@patrickkettner8398 2 жыл бұрын
lots of different ways to approach it, but once you have the value discussed starting at 5:55, you want to upload that to google analytics. You don't need to change anything in analytics to send that value, you can just send an Event hit using the Google Analytics js api (i.e. ga('send', {ec: 'Sarahs Web Vital Info', el: 'lcp', ev: THE_NUMBER_YOU_GOT_EARLIER})
@user-ts4tz3jg5f
@user-ts4tz3jg5f 9 ай бұрын
OMG that was great
@Tony.Nguyen137
@Tony.Nguyen137 3 ай бұрын
@4:30„Whatever element had the highest number of seconds between the first byte and when it was painted is what is reported for the LCP..“ I was confused why lighthouse labels my heading, which is absolute centered on a hero image as the Largest Contentful Paint, and not the Hero image 😂. a ‚Aha‘ moment for me
@t1t1s29
@t1t1s29 2 жыл бұрын
I miss a real example with Chrome Dev Tools and write the exact code to solve LCP issues...
@patrickkettner8398
@patrickkettner8398 2 жыл бұрын
It’s difficult to give a universal solution to solve a problem that can be exposed in hundreds of thousands of different ways. If you share a URL with an issue, I would be more than happy to help debug!
@rickmorphe-vy1fy
@rickmorphe-vy1fy 4 ай бұрын
I got bim buzy 🎉🎉🎉❤
@Adrinslim
@Adrinslim 2 жыл бұрын
Adsense laughs
@patrickkettner8398
@patrickkettner8398 2 жыл бұрын
🤨
@YouMotorcycle
@YouMotorcycle 2 жыл бұрын
I was completely lost in the first twenty seconds of this video
@patrickkettner8398
@patrickkettner8398 2 жыл бұрын
Shoot! Really sorry about that - that information isn't really needed for the rest of the video :/. If you have any questions (including on the first 20 seconds!) please do leave em and I will be more than happy to help
@MdmontuKhan-mm3ef
@MdmontuKhan-mm3ef 8 ай бұрын
Aarti Aarti
@LEILAROSANE-jv3cr
@LEILAROSANE-jv3cr 3 ай бұрын
Tradução
@josephbwuzhere
@josephbwuzhere 7 ай бұрын
This is 2 years old and inaccurate now?
How to improve Cumulative Layout Shift for a better page experience
18:24
Google Search Central
Рет қаралды 44 М.
Optimising Largest Contentful Paint | Harry Roberts | performance.now() 2022
45:42
Web Conferences Amsterdam
Рет қаралды 6 М.
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 21 МЛН
How to improve First Input Delay for a better page experience
10:14
Google Search Central
Рет қаралды 11 М.
A deep dive into optimizing LCP
29:15
Chrome for Developers
Рет қаралды 85 М.
How to FIX Largest Contentful Paint & Increase Website speed (In-depth Video)
22:09
WebDev & Blogging Academy 💻
Рет қаралды 21 М.
How ChatGPT Built My App in Minutes 🤯
8:28
Website Learners
Рет қаралды 2 МЛН
Core Web Vitals: How to Optimize Them for SEO
17:49
Ahrefs
Рет қаралды 41 М.
Avoiding layout shift by putting the CSS in charge - HTTP 203
16:53
Chrome for Developers
Рет қаралды 35 М.
How to optimize images for your ecommerce website (6 tips)
14:03
Google Search Central
Рет қаралды 21 М.
How Core Web Vitals affect SEO
15:22
Vercel
Рет қаралды 6 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 7 МЛН
Lid hologram 3d
0:32
LEDG
Рет қаралды 10 МЛН
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 1,2 МЛН