SlideShare a Scribd company logo
1 of 65
Download to read offline
Practical tips for 2023
How and why ($) to
improve web
performance
3
How do your website users feel?
1 second
loading time
improvement
-14%
users leaving the
website at landing
(bounce rate)
+13%
users reaching
website goals
(conversion rate)
Source: How Renault improved its bounce and conversion rates by measuring and optimizing Largest Contentful Paint
Takeaways 1. Web Performance (Web Vitals)
2. Business impact of Web Vitals
3. Top recommendations for 2023
Andrea Verlicchi
● Tons of websites
● Front-end development
● Web performance
consultant
8 Google Hackathon, London
Roadmap 1. Web performance, Search
Engine Optimisation, and
business impact
2. Measuring web performance
3. Quiz game! 🎉
4. Improvement tips for 2023
Web performance, SEO,
and business impact
11
How do your website users feel?
Google Core Web Vitals
Good Ok Poor
2.5 s 4.0 s
Good Ok Poor
100 ms 300 ms
Largest Contentful Paint (LCP)
Loading
Buy now
First Input Delay (FID)
Interactivity
Buy now
👆
Good Ok Poor
0.10 0.25
Cumulative Layout Shift (CLS)
Visual stability
Ad
Buy now
Google Core Web Vitals - News!
Good Ok Poor
2.5 s 4.0 s
Good Ok Poor
100 ms 300 ms
Largest Contentful Paint (LCP)
Loading
Buy now
First Input Delay (FID)
Interactivity
Buy now
👆
Good Ok Poor
0.10 0.25
Cumulative Layout Shift (CLS)
Visual stability
Ad
Buy now
Good Ok Poor
200 ms 500 ms
Interaction to Next Paint (INP)
March 2024
How does Google know?
Chrome User Experience
(CrUX)
Google Chrome CrUX Report
The Core Web Vitals impact your Google Search ranking
Source: https://developers.google.com/search/blog/2020/11/timing-for-page-experience
Core
Web
Vitals
Mobile friendly
HTTPS
No intrusive interstitials
Search signals for
page experience
Loading
Largest Contentful Paint (LCP)
Interactivity
First Input Delay (FCP)
Visual stability
Cumulative Layout Shift (CLS)
The Core Web Vitals impact the Google search ranking
SISTRIX
Visibility
Index
90%
95%
100%
105%
15/06/2021 27/06/2021 11/07/2021 25/07/2021
Good domains
110%
Google Update
31/08/2021
22/08/2021
08/08/2021
Poor domains
4%
Increase in
ranking
Source: https://www.sistrix.com/blog/core-web-vitals-is-a-measurable-ranking-factor/
Average Google Click-Through Rate (CTR) by Position
Source: https://clictadigital.com/what-is-the-average-google-click-through-rate-by-position/
Position
on
SERP
10
10% 20% 30% 50%
40%
43,32%
37,36%
29,90%
19,38%
10,95%
10,00%
5,28%
4,13%
4,13%
3,11%
0%
Percentage of clicks
9
34,2%
Average increase
in organic traffic
by climbing 1 rank
8
7
6
5
4
3
2
1
High conversion +
low traffic cost
Good performance
Low conversion +
high traffic cost
Poor performance
Success =
Traffic ×
Conversion
Sustainability
Source: CO2 emissions on the Web
Source: CO2 emissions on the Web
Shaving off a single kilobyte in a file that
is being loaded on 2 million pages
reduces CO2 emissions by an estimated
3000 kg per month.
Sustainability
118 kg 5X
Measuring
web performance
Real User Monitoring Lab
The big picture,
spot anomalies
Find the cause,
test solutions
Pagespeed
insights
Lighthouse
Chrome User
Experience Report
(CrUX)
The big picture,
spot anomalies
Find the cause,
test solutions
Real User Monitoring Lab
● On every page, while users
browse the web
● Real users, real devices,
connections, locations
● User interactions
● Summary, dashboard
● A single, specific URL
● Emulation, one location
● Detailed! Video, waterfall,
CPU, memory, etc.
● No user interactions
● Immediate results
Lab
Real User Monitoring
The big picture,
spot anomalies
Find the cause,
test solutions
Quiz time! 🎉
Thanks for playing
Improvement tips
for 2023
● Largest real-world impact
● Relevant and applicable to most sites
● Realistic to implement
Google Core Web Vitals
Good Ok Poor
2.5 s 4.0 s
Good Ok Poor
100 ms 300 ms
Largest Contentful Paint (LCP)
Loading
Buy now
First Input Delay (FID)
Interattività
Buy now
👆
Good Ok Poor
0.10 0.25
Cumulative Layout Shift (CLS)
Stabilità visiva
Ad
Buy now
Ensure the LCP resource
is discoverable 🔍
from the HTML source
72% of mobile pages
LCP element = an image
39% of those images
not discoverable from HTML source
Sources: Web Almanac
● Load the image using an <img> element
with the src or srcset attribute
● Prefer server-side rendering (SSR) over
client-side rendering (CSR)
● If your image needs to be referenced
from an external CSS or JS file,
include it in the HTML source via a
<link rel="preload"> tag.
Ensure the LCP resource
is prioritized 🔺
● Add fetchpriority="high" to the
<img> tag of your LCP image
● Never set loading="lazy" on the
<img> tag of your LCP image
● Defer non-critical resources when
possible
Use a CDN 🌐 to optimize
document and resource
server-time (TTFB)
Serve your content as geographically
close to your users as possible.
Cache that content so recently-requested
content can be served again quickly.
● Increase how long content is cached for.
● Cache content indefinitely, and purge the
cache on updates.
● Move dynamic logic from your origin
server to the edge
Google Core Web Vitals
Good Ok Poor
2.5 s 4.0 s
Good Ok Poor
100 ms 300 ms
Largest Contentful Paint (LCP)
Caricamento
Buy now
First Input Delay (FID)
Interactivity
Buy now
👆
Good Ok Poor
0.10 0.25
Cumulative Layout Shift (CLS)
Stabilità visiva
Ad
Buy now
Google Core Web Vitals
Good Ok Poor
2.5 s 4.0 s
Good Ok Poor
200 ms 500 ms
Largest Contentful Paint (LCP)
Caricamento
Buy now
Interaction to Next Paint (INP)
Interactivity
Buy now
👆
Good Ok Poor
0.10 0.25
Cumulative Layout Shift (CLS)
Stabilità visiva
Ad
Buy now
Avoid or break up 💥
long tasks
Tasks include rendering, layout, parsing
and compiling and executing scripts.
50ms of main-thread blocking
threshold for a task to be considered “long”.
19 is the median number
of long tasks on mobile
Sources: Web Almanac
● Break up long tasks into smaller ones,
yielding often to the main thread
● Consider using APIs such as
isInputPending and the
Scheduler API.
Avoid unnecessary
🟨 JavaScript
460 kb / page
median of JS code served to each page
Too much Javascript
create an environment where tasks are
competing for the main thread’s attention
Sources: Web Almanac, Optimize LCP / Make it discoverable
● Use the coverage tool in Chrome
DevTools to find unused code
● If unused because it will be used later,
move to separate bundle - code splitting
● Using a tag manager?
Periodically check your tags.
Avoid large 🐙
rendering updates
Javascript is not the only thing that
can affect your website's responsiveness.
Rendering can be expensive
and can interfere with your website's
ability to respond to user inputs.
Sources: Web Almanac, Optimize LCP / Make it discoverable
● Avoid using
requestAnimationFrame() for doing
any non-visual work.
● Keep your DOM size small.
● Use CSS containment
(contain property)
Google Core Web Vitals
Good Ok Poor
2.5 s 4.0 s
Good Ok Poor
100 ms 300 ms
Largest Contentful Paint (LCP)
Caricamento
Buy now
First Input Delay (FID)
Interattività
Buy now
👆
Good Ok Poor
0.10 0.25
Cumulative Layout Shift (CLS)
Visual stability
Ad
Buy now
Set explicit sizes 🖼
on any content loaded
from the page
Sources: Web Almanac,
0px initial default height
for unsized images
72% of pages
have at least one unsized image
● Explicitly set width and height attributes
(or equivalent CSS properties)
on images
● Use the aspect-ratio CSS property
to reserve space for other lazy loaded
content (ads, embedded videos, etc.)
● If aspect is unknown, use min-height
Ensure pages are eligible
for back/forward cache
(bfcache) 💭
35% of pages are
ineligible for the bfcache
Sources: Web Almanac
● Check if your pages are eligible for the
bfcache using bfcache tester in DevTools
● Work on the reasons why they are not
Sources: bfcache tester in DevTools
Avoid animations and
transitions 🎞 that use layout-
inducing CSS properties
15% less likely to have "good" CLS
if you animate any CSS property that
could affect layout
Absolutely positioned elements that
animate top or left will cause layout shifts
Sources: Web Almanac, Optimize LCP / Make it discoverable
● Never animate or transition CSS
properties that require browsers to
update page layout
● Instead of animating top or left,
animate transform:translateX() or
transform:translateY()
Let’s wrap up
2022 © cognizant netcentric
60
2022 © cognizant netcentric
61
● + organic traffic
● + brand perception
● + conversion rate
● – carbon footprint
Feedback form
Contact us

More Related Content

Similar to How and Why ($) to improve web performance.pdf

Front-End Performance Checklist 2020
Front-End Performance Checklist 2020Front-End Performance Checklist 2020
Front-End Performance Checklist 2020Harsha MV
 
5 Simple Actions to Make a Measurable Impact on Your Responsive Site
5 Simple Actions to Make a Measurable Impact on Your Responsive Site5 Simple Actions to Make a Measurable Impact on Your Responsive Site
5 Simple Actions to Make a Measurable Impact on Your Responsive Site5th Finger
 
Raiders of the Fast Start: Frontend Performance Achaeology - Fluent 2018
Raiders of the Fast Start: Frontend Performance Achaeology - Fluent 2018Raiders of the Fast Start: Frontend Performance Achaeology - Fluent 2018
Raiders of the Fast Start: Frontend Performance Achaeology - Fluent 2018Katie Sylor-Miller
 
Google at WordCamp US: Performance IS User Experience
Google at WordCamp US: Performance IS User ExperienceGoogle at WordCamp US: Performance IS User Experience
Google at WordCamp US: Performance IS User ExperienceRick Viscomi
 
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 TaylorDan Taylor
 
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
 
Client-side Web Performance Optimization [paper]
Client-side Web Performance Optimization [paper]Client-side Web Performance Optimization [paper]
Client-side Web Performance Optimization [paper]Jakob
 
MeasureWorks - Why people hate to wait for your website to load (and how to f...
MeasureWorks - Why people hate to wait for your website to load (and how to f...MeasureWorks - Why people hate to wait for your website to load (and how to f...
MeasureWorks - Why people hate to wait for your website to load (and how to f...MeasureWorks
 
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...Katie Sylor-Miller
 
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday SeasonG3 Communications
 
Performace optimization (increase website speed)
Performace optimization (increase website speed)Performace optimization (increase website speed)
Performace optimization (increase website speed)clickramanm
 
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018Katie Sylor-Miller
 
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 2018Anton Shulke
 
HK CodeConf 2015 - Your WebPerf Sucks
HK CodeConf 2015 - Your WebPerf Sucks HK CodeConf 2015 - Your WebPerf Sucks
HK CodeConf 2015 - Your WebPerf Sucks Holger Bartel
 
Core web vitals is the thing you should focus on if you own a website in 2021
Core web vitals is the thing you should focus on if you own a website in 2021Core web vitals is the thing you should focus on if you own a website in 2021
Core web vitals is the thing you should focus on if you own a website in 2021World Web Technology Pvt Ltd
 
Website Optimization How to Increase Page Performance and More
Website Optimization How to Increase Page Performance and More Website Optimization How to Increase Page Performance and More
Website Optimization How to Increase Page Performance and More Boundify
 

Similar to How and Why ($) to improve web performance.pdf (20)

Front-End Performance Checklist 2020
Front-End Performance Checklist 2020Front-End Performance Checklist 2020
Front-End Performance Checklist 2020
 
Lighthouse
LighthouseLighthouse
Lighthouse
 
5 Simple Actions to Make a Measurable Impact on Your Responsive Site
5 Simple Actions to Make a Measurable Impact on Your Responsive Site5 Simple Actions to Make a Measurable Impact on Your Responsive Site
5 Simple Actions to Make a Measurable Impact on Your Responsive Site
 
Raiders of the Fast Start: Frontend Performance Achaeology - Fluent 2018
Raiders of the Fast Start: Frontend Performance Achaeology - Fluent 2018Raiders of the Fast Start: Frontend Performance Achaeology - Fluent 2018
Raiders of the Fast Start: Frontend Performance Achaeology - Fluent 2018
 
Google at WordCamp US: Performance IS User Experience
Google at WordCamp US: Performance IS User ExperienceGoogle at WordCamp US: Performance IS User Experience
Google at WordCamp US: Performance IS User Experience
 
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
 
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
 
Client-side Web Performance Optimization [paper]
Client-side Web Performance Optimization [paper]Client-side Web Performance Optimization [paper]
Client-side Web Performance Optimization [paper]
 
Core Web Vitals in Website Design.pdf
Core Web Vitals in Website Design.pdfCore Web Vitals in Website Design.pdf
Core Web Vitals in Website Design.pdf
 
Modern Web Applications
Modern Web ApplicationsModern Web Applications
Modern Web Applications
 
MeasureWorks - Why people hate to wait for your website to load (and how to f...
MeasureWorks - Why people hate to wait for your website to load (and how to f...MeasureWorks - Why people hate to wait for your website to load (and how to f...
MeasureWorks - Why people hate to wait for your website to load (and how to f...
 
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
 
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season
 
Web Performance Optimization (WPO)
Web Performance Optimization (WPO)Web Performance Optimization (WPO)
Web Performance Optimization (WPO)
 
Performace optimization (increase website speed)
Performace optimization (increase website speed)Performace optimization (increase website speed)
Performace optimization (increase website speed)
 
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
 
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
 
HK CodeConf 2015 - Your WebPerf Sucks
HK CodeConf 2015 - Your WebPerf Sucks HK CodeConf 2015 - Your WebPerf Sucks
HK CodeConf 2015 - Your WebPerf Sucks
 
Core web vitals is the thing you should focus on if you own a website in 2021
Core web vitals is the thing you should focus on if you own a website in 2021Core web vitals is the thing you should focus on if you own a website in 2021
Core web vitals is the thing you should focus on if you own a website in 2021
 
Website Optimization How to Increase Page Performance and More
Website Optimization How to Increase Page Performance and More Website Optimization How to Increase Page Performance and More
Website Optimization How to Increase Page Performance and More
 

More from Andrea Verlicchi

Come e perché ($) migliorare le prestazioni web.pdf
Come e perché ($) migliorare le prestazioni web.pdfCome e perché ($) migliorare le prestazioni web.pdf
Come e perché ($) migliorare le prestazioni web.pdfAndrea Verlicchi
 
Come e perché ($) migliorare le prestazioni web - Aprile 2023.pptx
Come e perché ($) migliorare le prestazioni web - Aprile 2023.pptxCome e perché ($) migliorare le prestazioni web - Aprile 2023.pptx
Come e perché ($) migliorare le prestazioni web - Aprile 2023.pptxAndrea Verlicchi
 
2022.04 - CSS Day IT - Images Optimisation 4.0
2022.04 - CSS Day IT - Images Optimisation 4.02022.04 - CSS Day IT - Images Optimisation 4.0
2022.04 - CSS Day IT - Images Optimisation 4.0Andrea Verlicchi
 
Responsive images, an html 5.1 standard
Responsive images, an html 5.1 standardResponsive images, an html 5.1 standard
Responsive images, an html 5.1 standardAndrea Verlicchi
 
Agile CSS development with Compass and Sass
Agile CSS development with Compass and SassAgile CSS development with Compass and Sass
Agile CSS development with Compass and SassAndrea Verlicchi
 
Sviluppo CSS agile con SASS e Compass - CSS Day 2015 Faenza
Sviluppo CSS agile con SASS e Compass - CSS Day 2015 FaenzaSviluppo CSS agile con SASS e Compass - CSS Day 2015 Faenza
Sviluppo CSS agile con SASS e Compass - CSS Day 2015 FaenzaAndrea Verlicchi
 
Css3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQueryCss3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQueryAndrea Verlicchi
 

More from Andrea Verlicchi (7)

Come e perché ($) migliorare le prestazioni web.pdf
Come e perché ($) migliorare le prestazioni web.pdfCome e perché ($) migliorare le prestazioni web.pdf
Come e perché ($) migliorare le prestazioni web.pdf
 
Come e perché ($) migliorare le prestazioni web - Aprile 2023.pptx
Come e perché ($) migliorare le prestazioni web - Aprile 2023.pptxCome e perché ($) migliorare le prestazioni web - Aprile 2023.pptx
Come e perché ($) migliorare le prestazioni web - Aprile 2023.pptx
 
2022.04 - CSS Day IT - Images Optimisation 4.0
2022.04 - CSS Day IT - Images Optimisation 4.02022.04 - CSS Day IT - Images Optimisation 4.0
2022.04 - CSS Day IT - Images Optimisation 4.0
 
Responsive images, an html 5.1 standard
Responsive images, an html 5.1 standardResponsive images, an html 5.1 standard
Responsive images, an html 5.1 standard
 
Agile CSS development with Compass and Sass
Agile CSS development with Compass and SassAgile CSS development with Compass and Sass
Agile CSS development with Compass and Sass
 
Sviluppo CSS agile con SASS e Compass - CSS Day 2015 Faenza
Sviluppo CSS agile con SASS e Compass - CSS Day 2015 FaenzaSviluppo CSS agile con SASS e Compass - CSS Day 2015 Faenza
Sviluppo CSS agile con SASS e Compass - CSS Day 2015 Faenza
 
Css3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQueryCss3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQuery
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 

How and Why ($) to improve web performance.pdf

  • 1. Practical tips for 2023 How and why ($) to improve web performance
  • 2.
  • 3. 3 How do your website users feel?
  • 4. 1 second loading time improvement -14% users leaving the website at landing (bounce rate) +13% users reaching website goals (conversion rate) Source: How Renault improved its bounce and conversion rates by measuring and optimizing Largest Contentful Paint
  • 5.
  • 6. Takeaways 1. Web Performance (Web Vitals) 2. Business impact of Web Vitals 3. Top recommendations for 2023
  • 7. Andrea Verlicchi ● Tons of websites ● Front-end development ● Web performance consultant
  • 9. Roadmap 1. Web performance, Search Engine Optimisation, and business impact 2. Measuring web performance 3. Quiz game! 🎉 4. Improvement tips for 2023
  • 10. Web performance, SEO, and business impact
  • 11. 11 How do your website users feel?
  • 12. Google Core Web Vitals Good Ok Poor 2.5 s 4.0 s Good Ok Poor 100 ms 300 ms Largest Contentful Paint (LCP) Loading Buy now First Input Delay (FID) Interactivity Buy now 👆 Good Ok Poor 0.10 0.25 Cumulative Layout Shift (CLS) Visual stability Ad Buy now
  • 13. Google Core Web Vitals - News! Good Ok Poor 2.5 s 4.0 s Good Ok Poor 100 ms 300 ms Largest Contentful Paint (LCP) Loading Buy now First Input Delay (FID) Interactivity Buy now 👆 Good Ok Poor 0.10 0.25 Cumulative Layout Shift (CLS) Visual stability Ad Buy now Good Ok Poor 200 ms 500 ms Interaction to Next Paint (INP) March 2024
  • 14. How does Google know? Chrome User Experience (CrUX) Google Chrome CrUX Report
  • 15. The Core Web Vitals impact your Google Search ranking Source: https://developers.google.com/search/blog/2020/11/timing-for-page-experience Core Web Vitals Mobile friendly HTTPS No intrusive interstitials Search signals for page experience Loading Largest Contentful Paint (LCP) Interactivity First Input Delay (FCP) Visual stability Cumulative Layout Shift (CLS)
  • 16. The Core Web Vitals impact the Google search ranking SISTRIX Visibility Index 90% 95% 100% 105% 15/06/2021 27/06/2021 11/07/2021 25/07/2021 Good domains 110% Google Update 31/08/2021 22/08/2021 08/08/2021 Poor domains 4% Increase in ranking Source: https://www.sistrix.com/blog/core-web-vitals-is-a-measurable-ranking-factor/
  • 17. Average Google Click-Through Rate (CTR) by Position Source: https://clictadigital.com/what-is-the-average-google-click-through-rate-by-position/ Position on SERP 10 10% 20% 30% 50% 40% 43,32% 37,36% 29,90% 19,38% 10,95% 10,00% 5,28% 4,13% 4,13% 3,11% 0% Percentage of clicks 9 34,2% Average increase in organic traffic by climbing 1 rank 8 7 6 5 4 3 2 1
  • 18. High conversion + low traffic cost Good performance Low conversion + high traffic cost Poor performance Success = Traffic × Conversion
  • 20. Source: CO2 emissions on the Web Shaving off a single kilobyte in a file that is being loaded on 2 million pages reduces CO2 emissions by an estimated 3000 kg per month. Sustainability 118 kg 5X
  • 22. Real User Monitoring Lab The big picture, spot anomalies Find the cause, test solutions
  • 23. Pagespeed insights Lighthouse Chrome User Experience Report (CrUX) The big picture, spot anomalies Find the cause, test solutions Real User Monitoring Lab
  • 24. ● On every page, while users browse the web ● Real users, real devices, connections, locations ● User interactions ● Summary, dashboard ● A single, specific URL ● Emulation, one location ● Detailed! Video, waterfall, CPU, memory, etc. ● No user interactions ● Immediate results Lab Real User Monitoring The big picture, spot anomalies Find the cause, test solutions
  • 28. ● Largest real-world impact ● Relevant and applicable to most sites ● Realistic to implement
  • 29. Google Core Web Vitals Good Ok Poor 2.5 s 4.0 s Good Ok Poor 100 ms 300 ms Largest Contentful Paint (LCP) Loading Buy now First Input Delay (FID) Interattività Buy now 👆 Good Ok Poor 0.10 0.25 Cumulative Layout Shift (CLS) Stabilità visiva Ad Buy now
  • 30. Ensure the LCP resource is discoverable 🔍 from the HTML source
  • 31. 72% of mobile pages LCP element = an image 39% of those images not discoverable from HTML source Sources: Web Almanac
  • 32. ● Load the image using an <img> element with the src or srcset attribute ● Prefer server-side rendering (SSR) over client-side rendering (CSR) ● If your image needs to be referenced from an external CSS or JS file, include it in the HTML source via a <link rel="preload"> tag.
  • 33. Ensure the LCP resource is prioritized 🔺
  • 34. ● Add fetchpriority="high" to the <img> tag of your LCP image ● Never set loading="lazy" on the <img> tag of your LCP image ● Defer non-critical resources when possible
  • 35. Use a CDN 🌐 to optimize document and resource server-time (TTFB)
  • 36. Serve your content as geographically close to your users as possible. Cache that content so recently-requested content can be served again quickly.
  • 37. ● Increase how long content is cached for. ● Cache content indefinitely, and purge the cache on updates. ● Move dynamic logic from your origin server to the edge
  • 38. Google Core Web Vitals Good Ok Poor 2.5 s 4.0 s Good Ok Poor 100 ms 300 ms Largest Contentful Paint (LCP) Caricamento Buy now First Input Delay (FID) Interactivity Buy now 👆 Good Ok Poor 0.10 0.25 Cumulative Layout Shift (CLS) Stabilità visiva Ad Buy now
  • 39. Google Core Web Vitals Good Ok Poor 2.5 s 4.0 s Good Ok Poor 200 ms 500 ms Largest Contentful Paint (LCP) Caricamento Buy now Interaction to Next Paint (INP) Interactivity Buy now 👆 Good Ok Poor 0.10 0.25 Cumulative Layout Shift (CLS) Stabilità visiva Ad Buy now
  • 40. Avoid or break up 💥 long tasks
  • 41. Tasks include rendering, layout, parsing and compiling and executing scripts. 50ms of main-thread blocking threshold for a task to be considered “long”. 19 is the median number of long tasks on mobile Sources: Web Almanac
  • 42. ● Break up long tasks into smaller ones, yielding often to the main thread ● Consider using APIs such as isInputPending and the Scheduler API.
  • 44. 460 kb / page median of JS code served to each page Too much Javascript create an environment where tasks are competing for the main thread’s attention Sources: Web Almanac, Optimize LCP / Make it discoverable
  • 45. ● Use the coverage tool in Chrome DevTools to find unused code ● If unused because it will be used later, move to separate bundle - code splitting ● Using a tag manager? Periodically check your tags.
  • 47. Javascript is not the only thing that can affect your website's responsiveness. Rendering can be expensive and can interfere with your website's ability to respond to user inputs. Sources: Web Almanac, Optimize LCP / Make it discoverable
  • 48. ● Avoid using requestAnimationFrame() for doing any non-visual work. ● Keep your DOM size small. ● Use CSS containment (contain property)
  • 49. Google Core Web Vitals Good Ok Poor 2.5 s 4.0 s Good Ok Poor 100 ms 300 ms Largest Contentful Paint (LCP) Caricamento Buy now First Input Delay (FID) Interattività Buy now 👆 Good Ok Poor 0.10 0.25 Cumulative Layout Shift (CLS) Visual stability Ad Buy now
  • 50. Set explicit sizes 🖼 on any content loaded from the page
  • 51. Sources: Web Almanac, 0px initial default height for unsized images 72% of pages have at least one unsized image
  • 52. ● Explicitly set width and height attributes (or equivalent CSS properties) on images ● Use the aspect-ratio CSS property to reserve space for other lazy loaded content (ads, embedded videos, etc.) ● If aspect is unknown, use min-height
  • 53. Ensure pages are eligible for back/forward cache (bfcache) 💭
  • 54. 35% of pages are ineligible for the bfcache Sources: Web Almanac
  • 55. ● Check if your pages are eligible for the bfcache using bfcache tester in DevTools ● Work on the reasons why they are not Sources: bfcache tester in DevTools
  • 56. Avoid animations and transitions 🎞 that use layout- inducing CSS properties
  • 57. 15% less likely to have "good" CLS if you animate any CSS property that could affect layout Absolutely positioned elements that animate top or left will cause layout shifts Sources: Web Almanac, Optimize LCP / Make it discoverable
  • 58. ● Never animate or transition CSS properties that require browsers to update page layout ● Instead of animating top or left, animate transform:translateX() or transform:translateY()
  • 60. 2022 © cognizant netcentric 60
  • 61. 2022 © cognizant netcentric 61
  • 62.
  • 63. ● + organic traffic ● + brand perception ● + conversion rate ● – carbon footprint
  • 64.