SlideShare una empresa de Scribd logo
1 de 31
New ranking factors
by Google
…at least those starting May 2021
Hi there! 👋
Phil Marx
IT specialist
Works with WordPress since 2009
Working with WordPress and Clients since 2018
Twitter: @JustPhilMarx
2
Agenda
● One important prerequisite
● Core Web Vitals
○ Cumulative Layout Shift
○ Largest Contentful Paint
○ First Input Delay
● Check your own Core Web Vitals
● General notes for optimizing your site
3
Basis for webpage rating by
Google
● Google (likely) uses an Moto G4-engine with slow network
connection (3G)
● Motorola Moto G4:
○ First release: May 2016
○ 360 x 640 Pixel screen size
13
Core Web Vitals:
Cumulative Layout Shift
Wait? Where‘s my content?!
14
3
Cumulative Layout Shift
● Describes the shift of contents after initial design
○ Dynamic loading of contents
○ Dynamic resizing of widgets
○ Big images without dimension specification
https://web.dev/cls/
15
Whoooops!
See Cumulative Layout
Shift at its worst
16
Video: Google, CC BY 4.0
Basis of calculation
● Which percentage of the viewport is affected by the
moving element (impact fraction)?
● By what percentage does the element move (distance
fraction)?
● Values get multiplied and summed up
17
Example
● Element takes 50% of
viewport; 75% of
viewport is changed
after move
(Impact Fraction: 0,75)
● Element moved by 25%
(Distance Fraction: 0,25)
● 0,75 x 0,25 = 0,1875
18
Bild: Google, CC BY 4.0
Rating
● Rating:
○ <= 0,1: „Good Experience“
○ 0,1 – 0,25: „Needs improvement“
○ > 0,25: „Poor Experience“
● Layout shifts based on user interactions have no impact
(max. 500ms between interaction and shift)
19
https://web.dev/cls/
How to avoid CLS?
● Load relevant JS/JavaScript as soon as possible (or inline)
● Define sizes for every picture/content box
● Avoid dynamic layouts with JavaScript (Mansonry!)
● Use dynamic design definitions with CSS (Flexbox / Grid)
● Use CSS animations instead of JavaScript (transform(),
scale())
20
https://web.dev/optimize-cls/
Core Web Vitals:
Largest Contentful Paint
When you‘re waiting for the page hero…
21
4
Largest Contentful Paint
● Describes the time until the largest element in the initial
viewport is loaded
https://web.dev/lcp/
22
Bad LCP
23
Bild: Google, CC BY 4.0
Good LCP
24
Bild: Google, CC BY 4.0
Rating
● Largest element loaded:
○ <= 2,5 seconds: „Good“
○ 2,5 – 4,0 seconds: „Needs Improvement“
○ > 4,0 seconds: „Poor“
25
https://web.dev/lcp/
How to improve LCP?
● Arrange elements with specific values in the viewport
instead dynamically, where possible (Flexbox/Grid)
● Use small file sizes (for pictures use srcset)
● Use Caching / CDN for big sites
● Preload critical elements ( <link rel=„preload“ …> )
● Load non-critical CSS/JavaScript in footer
26
https://web.dev/optimize-lcp/
Core Web Vitals:
First Input Delay
Dang, my browser is stuck…
27
5
First Input Delay
● Describes the delay between user interaction and reaction
of your browser
○ Browser has to process JavaScript / CSS
○ Main Thread can only handle one task
○ If Javascript / CSS is processed, a click on a link can‘t
be processed
https://web.dev/fid/
28
FID – graphical
29
Bild: Google, CC BY 4.0
Rating
● Time between interaction and reaction of the browser
○ <= 100ms: „Good“
○ 100ms – 300ms: „Needs Improvement“
○ > 300ms: „Poor“
30
https://web.dev/fid/
How to improve FID?
● Keep your site structure simple
● Avoid complex JavaScript / CSS files
● Split up big files to smaller chunks
● Avoid external contents like Like-Button
● Load uncritical files in footer
31
https://web.dev/optimize-fid/
Determine Google Core
Vitals by yourself
Metrics! Diagrams! Numbers!
32
6
Lighthouse
● Provided by Chromium-based browsers
(Google Chrome, Microsoft Edge, Opera)
● Part of developer tools
(Strg + Shift + I / Cmd + Shift + I)
33
Create Assessment
34
Simulate browsers
35
Alternative: PageSpeed Insights
● https://developers.google.com/speed/pagespeed/insights/
36
General hints for
optimizing
It‘s not witchcraft…
37
7
Have a good basis
● Fast webserver / database
● Only use necessary CSS / JavaScript files
● Use CSS animation or Vanilla JavaScript instead of
complex librarys (jQuery)
● Avoid external libraries
● Avoid unnecessary plugins / multi purpose themes
● Optimize your pictures for web usage
● Keep your code streamlined
38
Plugin-Tipps
● Caching / Optimization plugins (WP Rocket / Autoptimize)
● Select which JavaScript to load (Asset Cleanup)
● WP CLI -> Profile-Command
● No plugin can enhance a bad basis / bad code
significantly
39
40
Thanks! 👋
Quetions? Just ask!
@JustPhilMarx / webfalken.de
Thanks to SlidesCarnival for Slides template and Icons (CC BY 4.0)

Más contenido relacionado

La actualidad más candente

Authoring analytics by Cleve Gibbon and Katarzyna Kozlowska
Authoring analytics by Cleve Gibbon and Katarzyna KozlowskaAuthoring analytics by Cleve Gibbon and Katarzyna Kozlowska
Authoring analytics by Cleve Gibbon and Katarzyna Kozlowska
AEM HUB
 
Designing future proof websites
Designing future proof websitesDesigning future proof websites
Designing future proof websites
Four Kitchens
 
EECS 497 MVP Preso 2
EECS 497 MVP Preso 2EECS 497 MVP Preso 2
EECS 497 MVP Preso 2
Jill Bender
 

La actualidad más candente (11)

Html5 presentation slides
Html5 presentation slidesHtml5 presentation slides
Html5 presentation slides
 
Authoring analytics by Cleve Gibbon and Katarzyna Kozlowska
Authoring analytics by Cleve Gibbon and Katarzyna KozlowskaAuthoring analytics by Cleve Gibbon and Katarzyna Kozlowska
Authoring analytics by Cleve Gibbon and Katarzyna Kozlowska
 
Table module
Table moduleTable module
Table module
 
Node.js - Greece JS Meetup 2012
Node.js - Greece JS Meetup 2012Node.js - Greece JS Meetup 2012
Node.js - Greece JS Meetup 2012
 
The headless CMS
The headless CMSThe headless CMS
The headless CMS
 
Bootstrap ppt
Bootstrap pptBootstrap ppt
Bootstrap ppt
 
Inclusive Design for Web Development Teams
Inclusive Design for Web Development TeamsInclusive Design for Web Development Teams
Inclusive Design for Web Development Teams
 
Conclusion Of The Course
Conclusion Of The CourseConclusion Of The Course
Conclusion Of The Course
 
Designing future proof websites
Designing future proof websitesDesigning future proof websites
Designing future proof websites
 
EECS 497 MVP Preso 2
EECS 497 MVP Preso 2EECS 497 MVP Preso 2
EECS 497 MVP Preso 2
 
Level Up with Google Cloud Certifications
Level Up with Google Cloud CertificationsLevel Up with Google Cloud Certifications
Level Up with Google Cloud Certifications
 

Similar a New Ranking Metrics by Google

Building a Better Web with HTML5 and CSS3
Building a Better Web with HTML5 and CSS3Building a Better Web with HTML5 and CSS3
Building a Better Web with HTML5 and CSS3
Karambir Singh Nain
 
Responsive Web Design On Student's day
Responsive Web Design On Student's day Responsive Web Design On Student's day
Responsive Web Design On Student's day
psophy
 

Similar a New Ranking Metrics by Google (20)

Word press optimizations
Word press optimizations Word press optimizations
Word press optimizations
 
Javascript & SEO 2019
Javascript & SEO 2019Javascript & SEO 2019
Javascript & SEO 2019
 
Responsive Design: Building for a Modern Web
Responsive Design: Building for a Modern WebResponsive Design: Building for a Modern Web
Responsive Design: Building for a Modern Web
 
The latest in site speed: advanced #webperf 2018
The latest in site speed: advanced #webperf 2018The latest in site speed: advanced #webperf 2018
The latest in site speed: advanced #webperf 2018
 
Super speed around the globe - SearchLeeds 2018
Super speed around the globe - SearchLeeds 2018Super speed around the globe - SearchLeeds 2018
Super speed around the globe - SearchLeeds 2018
 
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
 
Building a Better Web with HTML5 and CSS3
Building a Better Web with HTML5 and CSS3Building a Better Web with HTML5 and CSS3
Building a Better Web with HTML5 and CSS3
 
Optimization 2020 | Using Edge SEO For Technical Issues ft. Dan Taylor
Optimization 2020 | Using Edge SEO For Technical Issues ft. Dan TaylorOptimization 2020 | Using Edge SEO For Technical Issues ft. Dan Taylor
Optimization 2020 | Using Edge SEO For Technical Issues ft. Dan Taylor
 
Parallel programing in web applications - public.pptx
Parallel programing in web applications - public.pptxParallel programing in web applications - public.pptx
Parallel programing in web applications - public.pptx
 
You Can Work on the Web Patform! (GOSIM 2023)
You Can Work on the Web Patform! (GOSIM 2023)You Can Work on the Web Patform! (GOSIM 2023)
You Can Work on the Web Patform! (GOSIM 2023)
 
Optimizing a React application for Core Web Vitals
Optimizing a React application for Core Web VitalsOptimizing a React application for Core Web Vitals
Optimizing a React application for Core Web Vitals
 
How and Why ($) to improve web performance.pdf
How and Why ($) to improve web performance.pdfHow and Why ($) to improve web performance.pdf
How and Why ($) to improve web performance.pdf
 
The need for Speed: Advanced #webperf - SEOday 2018
The need for Speed: Advanced #webperf - SEOday 2018The need for Speed: Advanced #webperf - SEOday 2018
The need for Speed: Advanced #webperf - SEOday 2018
 
Making Web Sites Fast - Greg Keith
Making Web Sites Fast - Greg KeithMaking Web Sites Fast - Greg Keith
Making Web Sites Fast - Greg Keith
 
Responsive Web Design On Student's day
Responsive Web Design On Student's day Responsive Web Design On Student's day
Responsive Web Design On Student's day
 
Korea linuxforum2014 html5game-sangseoklim
Korea linuxforum2014 html5game-sangseoklimKorea linuxforum2014 html5game-sangseoklim
Korea linuxforum2014 html5game-sangseoklim
 
9 Useful Things that Every Web Developer Needs to Know
9 Useful Things that Every Web Developer Needs to Know9 Useful Things that Every Web Developer Needs to Know
9 Useful Things that Every Web Developer Needs to Know
 
Client vs Server Templating: Speed up initial load for SPA with Angular as an...
Client vs Server Templating: Speed up initial load for SPA with Angular as an...Client vs Server Templating: Speed up initial load for SPA with Angular as an...
Client vs Server Templating: Speed up initial load for SPA with Angular as an...
 
L’importance du crawl du JavaScript : pourquoi, comment et pour quels bénéfic...
L’importance du crawl du JavaScript : pourquoi, comment et pour quels bénéfic...L’importance du crawl du JavaScript : pourquoi, comment et pour quels bénéfic...
L’importance du crawl du JavaScript : pourquoi, comment et pour quels bénéfic...
 
Using JavaScript to write Native Mobile Applications
Using JavaScript to write Native Mobile ApplicationsUsing JavaScript to write Native Mobile Applications
Using JavaScript to write Native Mobile Applications
 

Más de Phil Marx

Más de Phil Marx (6)

Die neuen Bewertungskriterien von Google ab 05 / 2021
Die neuen Bewertungskriterien von Google ab 05 / 2021Die neuen Bewertungskriterien von Google ab 05 / 2021
Die neuen Bewertungskriterien von Google ab 05 / 2021
 
Podcasting unter WordPress
Podcasting unter WordPressPodcasting unter WordPress
Podcasting unter WordPress
 
DSGVO und WordPress
 DSGVO und WordPress DSGVO und WordPress
DSGVO und WordPress
 
Aus Englisch mach Deutsch
Aus Englisch mach DeutschAus Englisch mach Deutsch
Aus Englisch mach Deutsch
 
Lightweight use of transients
Lightweight use of transientsLightweight use of transients
Lightweight use of transients
 
Evernote - Dein virtuelles Gedächtnis - a.k.a. das unterschätzte Tool
Evernote - Dein virtuelles Gedächtnis - a.k.a. das unterschätzte ToolEvernote - Dein virtuelles Gedächtnis - a.k.a. das unterschätzte Tool
Evernote - Dein virtuelles Gedächtnis - a.k.a. das unterschätzte Tool
 

Último

哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
ydyuyu
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
ydyuyu
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
JOHNBEBONYAP1
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
ydyuyu
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
Asmae Rabhi
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Monica Sydney
 

Último (20)

哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
Power point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria IuzzolinoPower point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria Iuzzolino
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
 

New Ranking Metrics by Google

  • 1. New ranking factors by Google …at least those starting May 2021
  • 2. Hi there! 👋 Phil Marx IT specialist Works with WordPress since 2009 Working with WordPress and Clients since 2018 Twitter: @JustPhilMarx 2
  • 3. Agenda ● One important prerequisite ● Core Web Vitals ○ Cumulative Layout Shift ○ Largest Contentful Paint ○ First Input Delay ● Check your own Core Web Vitals ● General notes for optimizing your site 3
  • 4. Basis for webpage rating by Google ● Google (likely) uses an Moto G4-engine with slow network connection (3G) ● Motorola Moto G4: ○ First release: May 2016 ○ 360 x 640 Pixel screen size 13
  • 5. Core Web Vitals: Cumulative Layout Shift Wait? Where‘s my content?! 14 3
  • 6. Cumulative Layout Shift ● Describes the shift of contents after initial design ○ Dynamic loading of contents ○ Dynamic resizing of widgets ○ Big images without dimension specification https://web.dev/cls/ 15
  • 7. Whoooops! See Cumulative Layout Shift at its worst 16 Video: Google, CC BY 4.0
  • 8. Basis of calculation ● Which percentage of the viewport is affected by the moving element (impact fraction)? ● By what percentage does the element move (distance fraction)? ● Values get multiplied and summed up 17
  • 9. Example ● Element takes 50% of viewport; 75% of viewport is changed after move (Impact Fraction: 0,75) ● Element moved by 25% (Distance Fraction: 0,25) ● 0,75 x 0,25 = 0,1875 18 Bild: Google, CC BY 4.0
  • 10. Rating ● Rating: ○ <= 0,1: „Good Experience“ ○ 0,1 – 0,25: „Needs improvement“ ○ > 0,25: „Poor Experience“ ● Layout shifts based on user interactions have no impact (max. 500ms between interaction and shift) 19 https://web.dev/cls/
  • 11. How to avoid CLS? ● Load relevant JS/JavaScript as soon as possible (or inline) ● Define sizes for every picture/content box ● Avoid dynamic layouts with JavaScript (Mansonry!) ● Use dynamic design definitions with CSS (Flexbox / Grid) ● Use CSS animations instead of JavaScript (transform(), scale()) 20 https://web.dev/optimize-cls/
  • 12. Core Web Vitals: Largest Contentful Paint When you‘re waiting for the page hero… 21 4
  • 13. Largest Contentful Paint ● Describes the time until the largest element in the initial viewport is loaded https://web.dev/lcp/ 22
  • 16. Rating ● Largest element loaded: ○ <= 2,5 seconds: „Good“ ○ 2,5 – 4,0 seconds: „Needs Improvement“ ○ > 4,0 seconds: „Poor“ 25 https://web.dev/lcp/
  • 17. How to improve LCP? ● Arrange elements with specific values in the viewport instead dynamically, where possible (Flexbox/Grid) ● Use small file sizes (for pictures use srcset) ● Use Caching / CDN for big sites ● Preload critical elements ( <link rel=„preload“ …> ) ● Load non-critical CSS/JavaScript in footer 26 https://web.dev/optimize-lcp/
  • 18. Core Web Vitals: First Input Delay Dang, my browser is stuck… 27 5
  • 19. First Input Delay ● Describes the delay between user interaction and reaction of your browser ○ Browser has to process JavaScript / CSS ○ Main Thread can only handle one task ○ If Javascript / CSS is processed, a click on a link can‘t be processed https://web.dev/fid/ 28
  • 20. FID – graphical 29 Bild: Google, CC BY 4.0
  • 21. Rating ● Time between interaction and reaction of the browser ○ <= 100ms: „Good“ ○ 100ms – 300ms: „Needs Improvement“ ○ > 300ms: „Poor“ 30 https://web.dev/fid/
  • 22. How to improve FID? ● Keep your site structure simple ● Avoid complex JavaScript / CSS files ● Split up big files to smaller chunks ● Avoid external contents like Like-Button ● Load uncritical files in footer 31 https://web.dev/optimize-fid/
  • 23. Determine Google Core Vitals by yourself Metrics! Diagrams! Numbers! 32 6
  • 24. Lighthouse ● Provided by Chromium-based browsers (Google Chrome, Microsoft Edge, Opera) ● Part of developer tools (Strg + Shift + I / Cmd + Shift + I) 33
  • 27. Alternative: PageSpeed Insights ● https://developers.google.com/speed/pagespeed/insights/ 36
  • 28. General hints for optimizing It‘s not witchcraft… 37 7
  • 29. Have a good basis ● Fast webserver / database ● Only use necessary CSS / JavaScript files ● Use CSS animation or Vanilla JavaScript instead of complex librarys (jQuery) ● Avoid external libraries ● Avoid unnecessary plugins / multi purpose themes ● Optimize your pictures for web usage ● Keep your code streamlined 38
  • 30. Plugin-Tipps ● Caching / Optimization plugins (WP Rocket / Autoptimize) ● Select which JavaScript to load (Asset Cleanup) ● WP CLI -> Profile-Command ● No plugin can enhance a bad basis / bad code significantly 39
  • 31. 40 Thanks! 👋 Quetions? Just ask! @JustPhilMarx / webfalken.de Thanks to SlidesCarnival for Slides template and Icons (CC BY 4.0)

Notas del editor

  1. BERT: Bidirectional Encoder Representations from Transformers / Neurales Netz für Natural Language Processing
  2. Moto G4 seit Chrome v81 (Mai 2020) Standard in Entwicklungs-Tools/Lighthouse