SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
Optimizing
Core Web
Vitals.
Make Visitors and Search Engine Happy
• What
• Steps
• Examples
Talking Points:
What
A set of metrics created by Google
to ensure every visitor gets a
positive user experience.
Core Web Vitals
measures the initial loading
performance of the page
measures how long it takes for
visitors to interact with the page
measures the amount of page
layout shifts
What Matters Most ➟
Above
the Fold
Area
source: web.dev
Steps
Basic Principles ➟
Reduce
and
Simplify
request, size, structure
1. Inline Critical CSS
<style id="inlined-critical-css-example">
html, body {
max-width: 100vw;
overflow-x: hidden;
background-color: #171717;
font-weight: 400;
font-size: max(16.5px,min(17px,(100vw - 100vmin)))
}
html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
box-sizing: border-box;
}
:root, html, body, button, input, select, textarea {
font-family: thinkweb,Tahoma,Geneva,sans-serif;
}
...
</style>
Can be created
• Using online tools:
1. https://www.sitelocity.com/critical-
path-css-generator
2. https://pegasaas.com/critical-path-
css-generator/
• Manually
Example:
2. Check the Loaded Assets
Tools
• Gtmetrix’s Waterfal Tab
• Chrome Dev Tools
Example:
3. Identify Unused Assets
Tools
• Chrome Dev Tools > Show
Coverage
Example:
4. Handling Unused CSS
Tools
• Remove:
1. Manually
2. Plugins
• Purify:
1. https://purifycss.online/
2. https://uncss-online.com/
• Remove
• Purify
5. Handling Unused JavaScript
Tools
• Remove:
1. Manually
2. Plugins
• Delay:
1. Flying Script (free) *WordPress
2. WP-Rocket (paid) *WordPress
• Remove
• Delay
How to remove assets in WordPress
/* to remove assets on every page */
function tw_unload_files() {
wp_dequeue_style ( 'optim-style' ); // *_style is for css
wp_dequeue_script ( 'jquery-core' ); // *_script is for JavaScript
}
add_action( 'wp_enqueue_scripts', 'tw_unload_files', 100 );
/* to remove assets on certain page or post-type */
function tw_unload_files() {
if ( is_front_page() || is_page([page-id]) || is_single() || is_product() ) {
wp_dequeue_style ( 'optim-style' );
wp_dequeue_script ( 'jquery-core' );
}
}
add_action( 'wp_enqueue_scripts', 'tw_unload_files', 100 );
6. Handling Images
Tools
• Compress:
1. Online Tools
2. Offline Tools
• Delay:
1. Native Lazy Loading
2. JavaScript based
• Image Dedicated CDN:
Imagekit, Statically, AnyoneCDN, etc
• Compress, Reduce, and Resize
• Preload Critical Image
• Delay Below the Fold Images
• Use Image Dedicated CDN
7. Handling Fonts
Basic Principles:
• Limit the number of text fonts
• Don’t use icon fonts
Best Practices:
• Self-host the font files
• Purified and Inline the CSS
• Preload critical font files
8. Handling Above the Fold Area
1. Make it simple
a. Avoid using JavaScript driven content
b. Simplify the HTML structure
c. Limit the number of images
2. Make it fast & light
a. Establish early connections of critical 3rd party resource
b. Don’t combine CSS & JavaScript files
c. Preload any critical assets
d. Delay any non critical assets
e. Use full HTML page cache
q How to Establish Early 3rd Party Connection
/* to pre-connect to the google fonts server */
<link rel="preconnect" href="//fonts.gstatic.com">
/* to prefetch the dns of google fonts */
<link rel="dns-prefetch" href="//fonts.gstatic.com">
Example:
<link rel="preconnect" href="the-asset-source-domain-name">
<link rel="dns-prefetch" href="the-asset-source-domain-name">
q How to Preload Files
/* to preload image */
<link rel="preload" as="image" href="/wp-content/uploads/optimize-core-web-vitals-s.jpg">
/* to preload font */
<link rel="preload" as="font"
href="https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2" crossorigin>
/* to preload JavaScript */
<link rel="preload" as="script" href="/wp-content/themes/generatepress/assets/js/main.min.js">
/* to preload CSS */
<link rel="preload" as="style" href="/wp-content/themes/generatepress/assets/css/main.min.css">
Example:
<link rel="preload" as="the-asset-type" href="the-asset-url-path">
Example / Case Study
www.dewatalks.com
Thank You !

Mais conteúdo relacionado

Mais procurados

Core Web Vitals and SEO: Don't Panic. Improve.
Core Web Vitals and SEO: Don't Panic. Improve.Core Web Vitals and SEO: Don't Panic. Improve.
Core Web Vitals and SEO: Don't Panic. Improve.Ian Lurie
 
Web Page Speed - A Most Important Feature
Web Page Speed - A Most Important FeatureWeb Page Speed - A Most Important Feature
Web Page Speed - A Most Important FeatureScott Germaise
 
Web vitals are vitals - Aymen Loukil
Web vitals are vitals  - Aymen LoukilWeb vitals are vitals  - Aymen Loukil
Web vitals are vitals - Aymen LoukilAymen Loukil
 
Core Web Vitals - Why You Need to Pay Attention
Core Web Vitals - Why You Need to Pay AttentionCore Web Vitals - Why You Need to Pay Attention
Core Web Vitals - Why You Need to Pay AttentionTAC Marketing Group
 
Introduction To Single Page Application
Introduction To Single Page ApplicationIntroduction To Single Page Application
Introduction To Single Page ApplicationKMS Technology
 
Search Engine Optimization
Search Engine OptimizationSearch Engine Optimization
Search Engine OptimizationComputing Cage
 
Introduction To Web Accessibility
Introduction To Web AccessibilityIntroduction To Web Accessibility
Introduction To Web AccessibilitySteven Swafford
 
Introduction of Progressive Web App
Introduction of Progressive Web AppIntroduction of Progressive Web App
Introduction of Progressive Web AppSankalp Khandelwal
 
Progressive Web App
Progressive Web AppProgressive Web App
Progressive Web AppSubodh Garg
 
Learn Adobe analytics basics - Traffic variables
Learn Adobe analytics basics - Traffic variables Learn Adobe analytics basics - Traffic variables
Learn Adobe analytics basics - Traffic variables Arunkumar Sundaram
 
Crawling, indexation & the impact on performance | Brighton SEO
Crawling, indexation & the impact on performance | Brighton SEOCrawling, indexation & the impact on performance | Brighton SEO
Crawling, indexation & the impact on performance | Brighton SEOMartin Sean Fennon
 
API & Backend Integration
API & Backend IntegrationAPI & Backend Integration
API & Backend IntegrationElewayte
 
Adobe Experience Manager - The hub within the Marketing Cloud
Adobe Experience Manager - The hub within the Marketing CloudAdobe Experience Manager - The hub within the Marketing Cloud
Adobe Experience Manager - The hub within the Marketing CloudTricode (part of Dept)
 
Migrating wise.com to server-side GA4
Migrating wise.com to server-side GA4Migrating wise.com to server-side GA4
Migrating wise.com to server-side GA4Tom Bennet
 

Mais procurados (20)

Core Web Vitals and SEO: Don't Panic. Improve.
Core Web Vitals and SEO: Don't Panic. Improve.Core Web Vitals and SEO: Don't Panic. Improve.
Core Web Vitals and SEO: Don't Panic. Improve.
 
Web Page Speed - A Most Important Feature
Web Page Speed - A Most Important FeatureWeb Page Speed - A Most Important Feature
Web Page Speed - A Most Important Feature
 
Web vitals are vitals - Aymen Loukil
Web vitals are vitals  - Aymen LoukilWeb vitals are vitals  - Aymen Loukil
Web vitals are vitals - Aymen Loukil
 
Foxtail Website Audit
Foxtail Website AuditFoxtail Website Audit
Foxtail Website Audit
 
Core Web Vitals - Why You Need to Pay Attention
Core Web Vitals - Why You Need to Pay AttentionCore Web Vitals - Why You Need to Pay Attention
Core Web Vitals - Why You Need to Pay Attention
 
Technical SEO Audit
Technical SEO AuditTechnical SEO Audit
Technical SEO Audit
 
Introduction To Single Page Application
Introduction To Single Page ApplicationIntroduction To Single Page Application
Introduction To Single Page Application
 
Search Engine Optimization
Search Engine OptimizationSearch Engine Optimization
Search Engine Optimization
 
Introduction To Web Accessibility
Introduction To Web AccessibilityIntroduction To Web Accessibility
Introduction To Web Accessibility
 
Progressive Web-App (PWA)
Progressive Web-App (PWA)Progressive Web-App (PWA)
Progressive Web-App (PWA)
 
Introduction of Progressive Web App
Introduction of Progressive Web AppIntroduction of Progressive Web App
Introduction of Progressive Web App
 
Progressive Web App
Progressive Web AppProgressive Web App
Progressive Web App
 
OFF PAGE SEO
OFF PAGE SEOOFF PAGE SEO
OFF PAGE SEO
 
Internal Linking
Internal LinkingInternal Linking
Internal Linking
 
Learn Adobe analytics basics - Traffic variables
Learn Adobe analytics basics - Traffic variables Learn Adobe analytics basics - Traffic variables
Learn Adobe analytics basics - Traffic variables
 
Crawling, indexation & the impact on performance | Brighton SEO
Crawling, indexation & the impact on performance | Brighton SEOCrawling, indexation & the impact on performance | Brighton SEO
Crawling, indexation & the impact on performance | Brighton SEO
 
API & Backend Integration
API & Backend IntegrationAPI & Backend Integration
API & Backend Integration
 
Adobe Experience Manager - The hub within the Marketing Cloud
Adobe Experience Manager - The hub within the Marketing CloudAdobe Experience Manager - The hub within the Marketing Cloud
Adobe Experience Manager - The hub within the Marketing Cloud
 
Migrating wise.com to server-side GA4
Migrating wise.com to server-side GA4Migrating wise.com to server-side GA4
Migrating wise.com to server-side GA4
 
Technical SEO.pdf
Technical SEO.pdfTechnical SEO.pdf
Technical SEO.pdf
 

Semelhante a Core Web Vitals Optimization for any website, especially WordPress

Minimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsMinimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsCgColors
 
Practical tipsmakemobilefaster oscon2016
Practical tipsmakemobilefaster oscon2016Practical tipsmakemobilefaster oscon2016
Practical tipsmakemobilefaster oscon2016Doris Chen
 
Client Side Optimization
Client Side OptimizationClient Side Optimization
Client Side OptimizationPatrick Huesler
 
Lazy load Website Assets
Lazy load Website AssetsLazy load Website Assets
Lazy load Website AssetsChris Love
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax ApplicationsSiarhei Barysiuk
 
Optimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get thereOptimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get thereStephen Bell
 
The Need for Speed - SMX Sydney 2013
The Need for Speed - SMX Sydney 2013The Need for Speed - SMX Sydney 2013
The Need for Speed - SMX Sydney 2013Bastian Grimm
 
Web Components at Scale, HTML5DevConf 2014-10-21
Web Components at Scale, HTML5DevConf 2014-10-21Web Components at Scale, HTML5DevConf 2014-10-21
Web Components at Scale, HTML5DevConf 2014-10-21Chris Danford
 
Building high performing web pages
Building high performing web pagesBuilding high performing web pages
Building high performing web pagesNilesh Bafna
 
Progressive Downloads and Rendering
Progressive Downloads and RenderingProgressive Downloads and Rendering
Progressive Downloads and RenderingStoyan Stefanov
 
12 GoMeasure (sg and kl) - page speed light speed path to conversions - joh...
12   GoMeasure (sg and kl) - page speed light speed path to conversions - joh...12   GoMeasure (sg and kl) - page speed light speed path to conversions - joh...
12 GoMeasure (sg and kl) - page speed light speed path to conversions - joh...Vinoaj Vijeyakumaar
 
Automated perf optimization - jQuery Conference
Automated perf optimization - jQuery ConferenceAutomated perf optimization - jQuery Conference
Automated perf optimization - jQuery ConferenceMatthew Lancaster
 
Developing High Performance Web Apps - CodeMash 2011
Developing High Performance Web Apps - CodeMash 2011Developing High Performance Web Apps - CodeMash 2011
Developing High Performance Web Apps - CodeMash 2011Timothy Fisher
 
Curtin University Frontend Web Development
Curtin University Frontend Web DevelopmentCurtin University Frontend Web Development
Curtin University Frontend Web DevelopmentDaryll Chu
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesVitaly Friedman
 

Semelhante a Core Web Vitals Optimization for any website, especially WordPress (20)

performance.ppt
performance.pptperformance.ppt
performance.ppt
 
Minimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsMinimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tips
 
Practical tipsmakemobilefaster oscon2016
Practical tipsmakemobilefaster oscon2016Practical tipsmakemobilefaster oscon2016
Practical tipsmakemobilefaster oscon2016
 
Client Side Optimization
Client Side OptimizationClient Side Optimization
Client Side Optimization
 
Lazy load Website Assets
Lazy load Website AssetsLazy load Website Assets
Lazy load Website Assets
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
 
Ui dev@naukri-2011
Ui dev@naukri-2011Ui dev@naukri-2011
Ui dev@naukri-2011
 
Optimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get thereOptimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get there
 
The Need for Speed - SMX Sydney 2013
The Need for Speed - SMX Sydney 2013The Need for Speed - SMX Sydney 2013
The Need for Speed - SMX Sydney 2013
 
Web Components at Scale, HTML5DevConf 2014-10-21
Web Components at Scale, HTML5DevConf 2014-10-21Web Components at Scale, HTML5DevConf 2014-10-21
Web Components at Scale, HTML5DevConf 2014-10-21
 
Presentation Tier optimizations
Presentation Tier optimizationsPresentation Tier optimizations
Presentation Tier optimizations
 
Building high performing web pages
Building high performing web pagesBuilding high performing web pages
Building high performing web pages
 
Progressive Downloads and Rendering
Progressive Downloads and RenderingProgressive Downloads and Rendering
Progressive Downloads and Rendering
 
12 GoMeasure (sg and kl) - page speed light speed path to conversions - joh...
12   GoMeasure (sg and kl) - page speed light speed path to conversions - joh...12   GoMeasure (sg and kl) - page speed light speed path to conversions - joh...
12 GoMeasure (sg and kl) - page speed light speed path to conversions - joh...
 
Automated perf optimization - jQuery Conference
Automated perf optimization - jQuery ConferenceAutomated perf optimization - jQuery Conference
Automated perf optimization - jQuery Conference
 
Developing High Performance Web Apps - CodeMash 2011
Developing High Performance Web Apps - CodeMash 2011Developing High Performance Web Apps - CodeMash 2011
Developing High Performance Web Apps - CodeMash 2011
 
Speed!
Speed!Speed!
Speed!
 
Curtin University Frontend Web Development
Curtin University Frontend Web DevelopmentCurtin University Frontend Web Development
Curtin University Frontend Web Development
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and Techniques
 
Design for performance
Design for performanceDesign for performance
Design for performance
 

Mais de ClementYo

Sharing Prompt AI yang Efektif Dalam Pembuatan Konten
Sharing Prompt AI yang Efektif Dalam Pembuatan KontenSharing Prompt AI yang Efektif Dalam Pembuatan Konten
Sharing Prompt AI yang Efektif Dalam Pembuatan KontenClementYo
 
Prinsip Dasar Desain Website
Prinsip Dasar Desain WebsitePrinsip Dasar Desain Website
Prinsip Dasar Desain WebsiteClementYo
 
Site Structure - Present.pdf
Site Structure - Present.pdfSite Structure - Present.pdf
Site Structure - Present.pdfClementYo
 
Whatsapp 101 on WordPress
Whatsapp 101 on WordPressWhatsapp 101 on WordPress
Whatsapp 101 on WordPressClementYo
 
Best Practice Elementor Optimization For WordPress.pptx
Best Practice Elementor Optimization For WordPress.pptxBest Practice Elementor Optimization For WordPress.pptx
Best Practice Elementor Optimization For WordPress.pptxClementYo
 
Business Mindset: Agency vs Freelancer
Business Mindset: Agency vs FreelancerBusiness Mindset: Agency vs Freelancer
Business Mindset: Agency vs FreelancerClementYo
 
How To Create A High Converting Landing Page + Case Studies
How To Create A High Converting Landing Page + Case StudiesHow To Create A High Converting Landing Page + Case Studies
How To Create A High Converting Landing Page + Case StudiesClementYo
 
SEO Copywriting - A presentation by Andi Datin Hardyanti
SEO Copywriting - A presentation by Andi Datin HardyantiSEO Copywriting - A presentation by Andi Datin Hardyanti
SEO Copywriting - A presentation by Andi Datin HardyantiClementYo
 
Better UX = Better Web Conversion
Better UX = Better Web ConversionBetter UX = Better Web Conversion
Better UX = Better Web ConversionClementYo
 

Mais de ClementYo (9)

Sharing Prompt AI yang Efektif Dalam Pembuatan Konten
Sharing Prompt AI yang Efektif Dalam Pembuatan KontenSharing Prompt AI yang Efektif Dalam Pembuatan Konten
Sharing Prompt AI yang Efektif Dalam Pembuatan Konten
 
Prinsip Dasar Desain Website
Prinsip Dasar Desain WebsitePrinsip Dasar Desain Website
Prinsip Dasar Desain Website
 
Site Structure - Present.pdf
Site Structure - Present.pdfSite Structure - Present.pdf
Site Structure - Present.pdf
 
Whatsapp 101 on WordPress
Whatsapp 101 on WordPressWhatsapp 101 on WordPress
Whatsapp 101 on WordPress
 
Best Practice Elementor Optimization For WordPress.pptx
Best Practice Elementor Optimization For WordPress.pptxBest Practice Elementor Optimization For WordPress.pptx
Best Practice Elementor Optimization For WordPress.pptx
 
Business Mindset: Agency vs Freelancer
Business Mindset: Agency vs FreelancerBusiness Mindset: Agency vs Freelancer
Business Mindset: Agency vs Freelancer
 
How To Create A High Converting Landing Page + Case Studies
How To Create A High Converting Landing Page + Case StudiesHow To Create A High Converting Landing Page + Case Studies
How To Create A High Converting Landing Page + Case Studies
 
SEO Copywriting - A presentation by Andi Datin Hardyanti
SEO Copywriting - A presentation by Andi Datin HardyantiSEO Copywriting - A presentation by Andi Datin Hardyanti
SEO Copywriting - A presentation by Andi Datin Hardyanti
 
Better UX = Better Web Conversion
Better UX = Better Web ConversionBetter UX = Better Web Conversion
Better UX = Better Web Conversion
 

Último

Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsThierry TROUIN ☁
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 

Último (20)

Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 

Core Web Vitals Optimization for any website, especially WordPress

  • 2. • What • Steps • Examples Talking Points:
  • 3. What A set of metrics created by Google to ensure every visitor gets a positive user experience.
  • 4. Core Web Vitals measures the initial loading performance of the page measures how long it takes for visitors to interact with the page measures the amount of page layout shifts
  • 5. What Matters Most ➟ Above the Fold Area
  • 8. 1. Inline Critical CSS <style id="inlined-critical-css-example"> html, body { max-width: 100vw; overflow-x: hidden; background-color: #171717; font-weight: 400; font-size: max(16.5px,min(17px,(100vw - 100vmin))) } html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; box-sizing: border-box; } :root, html, body, button, input, select, textarea { font-family: thinkweb,Tahoma,Geneva,sans-serif; } ... </style> Can be created • Using online tools: 1. https://www.sitelocity.com/critical- path-css-generator 2. https://pegasaas.com/critical-path- css-generator/ • Manually Example:
  • 9. 2. Check the Loaded Assets Tools • Gtmetrix’s Waterfal Tab • Chrome Dev Tools Example:
  • 10. 3. Identify Unused Assets Tools • Chrome Dev Tools > Show Coverage Example:
  • 11. 4. Handling Unused CSS Tools • Remove: 1. Manually 2. Plugins • Purify: 1. https://purifycss.online/ 2. https://uncss-online.com/ • Remove • Purify
  • 12. 5. Handling Unused JavaScript Tools • Remove: 1. Manually 2. Plugins • Delay: 1. Flying Script (free) *WordPress 2. WP-Rocket (paid) *WordPress • Remove • Delay
  • 13. How to remove assets in WordPress /* to remove assets on every page */ function tw_unload_files() { wp_dequeue_style ( 'optim-style' ); // *_style is for css wp_dequeue_script ( 'jquery-core' ); // *_script is for JavaScript } add_action( 'wp_enqueue_scripts', 'tw_unload_files', 100 ); /* to remove assets on certain page or post-type */ function tw_unload_files() { if ( is_front_page() || is_page([page-id]) || is_single() || is_product() ) { wp_dequeue_style ( 'optim-style' ); wp_dequeue_script ( 'jquery-core' ); } } add_action( 'wp_enqueue_scripts', 'tw_unload_files', 100 );
  • 14. 6. Handling Images Tools • Compress: 1. Online Tools 2. Offline Tools • Delay: 1. Native Lazy Loading 2. JavaScript based • Image Dedicated CDN: Imagekit, Statically, AnyoneCDN, etc • Compress, Reduce, and Resize • Preload Critical Image • Delay Below the Fold Images • Use Image Dedicated CDN
  • 15. 7. Handling Fonts Basic Principles: • Limit the number of text fonts • Don’t use icon fonts Best Practices: • Self-host the font files • Purified and Inline the CSS • Preload critical font files
  • 16. 8. Handling Above the Fold Area 1. Make it simple a. Avoid using JavaScript driven content b. Simplify the HTML structure c. Limit the number of images 2. Make it fast & light a. Establish early connections of critical 3rd party resource b. Don’t combine CSS & JavaScript files c. Preload any critical assets d. Delay any non critical assets e. Use full HTML page cache
  • 17. q How to Establish Early 3rd Party Connection /* to pre-connect to the google fonts server */ <link rel="preconnect" href="//fonts.gstatic.com"> /* to prefetch the dns of google fonts */ <link rel="dns-prefetch" href="//fonts.gstatic.com"> Example: <link rel="preconnect" href="the-asset-source-domain-name"> <link rel="dns-prefetch" href="the-asset-source-domain-name">
  • 18. q How to Preload Files /* to preload image */ <link rel="preload" as="image" href="/wp-content/uploads/optimize-core-web-vitals-s.jpg"> /* to preload font */ <link rel="preload" as="font" href="https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2" crossorigin> /* to preload JavaScript */ <link rel="preload" as="script" href="/wp-content/themes/generatepress/assets/js/main.min.js"> /* to preload CSS */ <link rel="preload" as="style" href="/wp-content/themes/generatepress/assets/css/main.min.css"> Example: <link rel="preload" as="the-asset-type" href="the-asset-url-path">
  • 19. Example / Case Study www.dewatalks.com