SlideShare uma empresa Scribd logo
1 de 19
Baixar para ler offline
ALYSS / OCTOBER 2017
Is it me or is it them?
Boosting your conversion rate through
web performance improvements
ALYSS / OCTOBER 2017
Alyss Noland
Developer Advocate @ BigCommerce
Amazon’s calculated that a page load slowdown of just one
second could cost it $1.6 billion in sales each year. Google has
calculated that by slowing its search results by just four tenths of
a second they could lose 8 million searches per day–meaning
they’d serve up many millions fewer online adverts.
Kit Eaton, Fast Company
What are we talking about?
● Metrics
● Tools & Testing Strategies
● Performance Improvements
● Practical Implementation Tips
Understanding impact
Mobile First
It isn’t just for your stylesheets! Mobile
first also includes being mindful of data
caps and accessibility when dealing with
non-LTE speeds.
Conversion & Retention
Ever given up trying to load a website
because it took too long? Your users
probably have too.
Brand Perception
If your website feels fast, that’s great. If it
feels slow to the end user, that has more
impact (negatively) than some of the
other niceties like rewards programs.
Let’s clarify: what is web performance? Web performance refers to the speed in
which web pages are downloaded and displayed on the user’s web browser.
And web performance optimization is the field of knowledge about increasing
web performance.
Which metrics matter?
Factors that impact performance
HTTP Requests File Compression Caching Minification
Image
Optimization
Redirects Infrastructure 404 Errors CDN Usage 3rd Party Content
Fonts
JavaScript
Plugins
Mixed Content
Pre- (Fetch,
Render, Connect)
TTFB
Feature overview goes here dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
Top offenders
When optimizing a site, I focus on:
• Page size of top visited pages
• Render blocking or slow blocking requests
• Total number of HTTP requests
• JavaScript performance
Insert store
screenshot/dashboard
(optional)
How do I test my website?
Accessible (read “free”) testing tools
● Webpagetest.org
● Pingdom
● Varvy.com/pagespeed
● Developer tools in your browser of
choice
Performance Profiling in Chrome
Source: https://umaar.com/dev-tips/
Filter the testing noise
When using these tools, you get a lot of data.
For example, if you are on a SaaS platform, you may have less control over your
TTFB, if you can pre-fetch/render/connect, and the critical rendering path.
For folks managing their own hosting, the cost of a CDN may not be as accessible
and infrastructure improvements may come more slowly due to budget caps.
Okay, but how do I improve my
website?
Page Size
Image size
Is your website serving up that 4098 x
4098 px PNG that you uploaded? If your
host or tools don’t support image
optimization, try running images
through tinypng.com first and resize.
Don’t forget retina devices!
JavaScript
Try to keep your JavaScript under 300
kB per page (this will change over time).
Are you loading JS on a page where it
isn’t used? Get more precise! Can you do
it with CSS? It is more performant over
JavaScript that provides the same
effects.
GZIP & Minify
CSS, JavaScript, and HTML don’t need to
be prettified when served to the
browser. Get rid of that white space and
compress that file once you’re done.
The HTTP Archive Report, which gathers technical information from 500,000 of
the web’s most popular websites, reports that average page weight increased
16% during 2015 to reach 2,262 kB. In 2013, page size increased by 32%. It will
continue to climb.
Render blocking CSS & JavaScript
In order to optimize the time to first render by the client:
• Use CSS media types & queries for stylesheets needed
only under certain conditions
• Make JS asynchronous for external scripts
• Defer loading of JS that isn’t critical for the initial page
render
• Leverage server-side rendering if using a javascript
framework to construct the page
72.9%
Of all websites use JQuery
Optimize HTTP Requests
HTTP/2! It’s new, shiny, and it allows multiple resources to be loaded in parallel
using only one connection.
If you’re still on HTTP1.1, try domain sharding. If you use a CDN, it may already
support this. This will enable you to parallelize downloads across hostnames.
Reduce the number of assets your pages need to load. Try image sprites (unless
you are on HTTP/2), as an example.
Now, what?
Practical Implementation Advice
If you’re in the middle of the project, don’t get hung up on the details of
optimization. Write code, then refactor and optimize.
Set a web performance budget. Make the budget reasonable and achievable. This
will keep you from moving the goal post and over-focusing long after the benefits
have tapered off.
Don’t audit your site just once. It easy to set it and forget it. Schedule quarterly or
yearly performance audits to make sure you are within your performance budget.
Don’t forget: fast is good, but good ux is better.
ALYSS / OCTOBER 2017
Thank you!

Mais conteúdo relacionado

Mais procurados

Take Your Website From Lethargic To Blazingly Fast
Take Your Website From Lethargic To Blazingly FastTake Your Website From Lethargic To Blazingly Fast
Take Your Website From Lethargic To Blazingly Fast
TechBasedMarketing
 

Mais procurados (20)

Finding Useful Plugins: How To Extend WordPress Past a Simple Blog
Finding Useful Plugins: How To Extend WordPress Past a Simple BlogFinding Useful Plugins: How To Extend WordPress Past a Simple Blog
Finding Useful Plugins: How To Extend WordPress Past a Simple Blog
 
Why AMP for WordPress?
Why AMP for WordPress? Why AMP for WordPress?
Why AMP for WordPress?
 
Website speed optimizations you can do yourself
Website speed optimizations you can do yourselfWebsite speed optimizations you can do yourself
Website speed optimizations you can do yourself
 
Performance and User Experience for the Web of Tomorrow
Performance and User Experience for the Web of TomorrowPerformance and User Experience for the Web of Tomorrow
Performance and User Experience for the Web of Tomorrow
 
Optimizely介绍
Optimizely介绍Optimizely介绍
Optimizely介绍
 
The Future is Now! Using Machine Learning to Automate Plugin Updates + Secure...
The Future is Now! Using Machine Learning to Automate Plugin Updates + Secure...The Future is Now! Using Machine Learning to Automate Plugin Updates + Secure...
The Future is Now! Using Machine Learning to Automate Plugin Updates + Secure...
 
Don't lose revenue. Go viral with no downtime.
Don't lose revenue. Go viral with no downtime.Don't lose revenue. Go viral with no downtime.
Don't lose revenue. Go viral with no downtime.
 
Maintaining Retainers as a WordPress Developer
Maintaining Retainers as a WordPress DeveloperMaintaining Retainers as a WordPress Developer
Maintaining Retainers as a WordPress Developer
 
Google Core Web Vitals - Webinar
Google Core Web Vitals - WebinarGoogle Core Web Vitals - Webinar
Google Core Web Vitals - Webinar
 
It's the Little Things: Creating a Delightful WordPress Experience for Your C...
It's the Little Things: Creating a Delightful WordPress Experience for Your C...It's the Little Things: Creating a Delightful WordPress Experience for Your C...
It's the Little Things: Creating a Delightful WordPress Experience for Your C...
 
Applying a Methodical Approach to Website Performance
Applying a Methodical Approach to Website PerformanceApplying a Methodical Approach to Website Performance
Applying a Methodical Approach to Website Performance
 
Drupal Effect on High Performance Websites
Drupal Effect on High Performance Websites Drupal Effect on High Performance Websites
Drupal Effect on High Performance Websites
 
Take Your Website From Lethargic To Blazingly Fast
Take Your Website From Lethargic To Blazingly FastTake Your Website From Lethargic To Blazingly Fast
Take Your Website From Lethargic To Blazingly Fast
 
Javascript & SEO 2019
Javascript & SEO 2019Javascript & SEO 2019
Javascript & SEO 2019
 
GG SEO Ideas
GG SEO IdeasGG SEO Ideas
GG SEO Ideas
 
Accelerated Mobile Pages
Accelerated Mobile PagesAccelerated Mobile Pages
Accelerated Mobile Pages
 
Php website developers toronto
Php website developers torontoPhp website developers toronto
Php website developers toronto
 
Proven ways to improve your website performance optimizing front end and back...
Proven ways to improve your website performance optimizing front end and back...Proven ways to improve your website performance optimizing front end and back...
Proven ways to improve your website performance optimizing front end and back...
 
EVOLVE'15 | Maximize | Andy Lapin | Kelley Blue Book
EVOLVE'15 | Maximize | Andy Lapin | Kelley Blue BookEVOLVE'15 | Maximize | Andy Lapin | Kelley Blue Book
EVOLVE'15 | Maximize | Andy Lapin | Kelley Blue Book
 
How to Make a Mobile-Ready WordPress Website
How to Make a Mobile-Ready WordPress WebsiteHow to Make a Mobile-Ready WordPress Website
How to Make a Mobile-Ready WordPress Website
 

Semelhante a Boosting your conversion rate through web performance improvements

Semelhante a Boosting your conversion rate through web performance improvements (20)

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
 
Front-End Performance Checklist 2020
Front-End Performance Checklist 2020Front-End Performance Checklist 2020
Front-End Performance Checklist 2020
 
Optimizing web performance (Fronteers edition)
Optimizing web performance (Fronteers edition)Optimizing web performance (Fronteers edition)
Optimizing web performance (Fronteers edition)
 
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
 
Making Web Sites Fast - Greg Keith
Making Web Sites Fast - Greg KeithMaking Web Sites Fast - Greg Keith
Making Web Sites Fast - Greg Keith
 
Improving frontend performance
Improving frontend performanceImproving frontend performance
Improving frontend performance
 
Office Interior Design Websites..........
Office Interior Design Websites..........Office Interior Design Websites..........
Office Interior Design Websites..........
 
Office Interior Design Websites
Office Interior Design WebsitesOffice Interior Design Websites
Office Interior Design Websites
 
OFFICE INTERIOR DESIGN WEBSITES
OFFICE INTERIOR DESIGN WEBSITESOFFICE INTERIOR DESIGN WEBSITES
OFFICE INTERIOR DESIGN WEBSITES
 
Office Interior Design Websites............
Office Interior Design Websites............Office Interior Design Websites............
Office Interior Design Websites............
 
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
 
Tips to improve your website performance
Tips to improve your website performanceTips to improve your website performance
Tips to improve your website performance
 
Tips to improve your page load speed
Tips to improve your page load speedTips to improve your page load speed
Tips to improve your page load speed
 
7 secrets of performance oriented front end development services
7 secrets of performance oriented front end development services7 secrets of performance oriented front end development services
7 secrets of performance oriented front end development services
 
Demystifying web performance tooling and metrics
Demystifying web performance tooling and metricsDemystifying web performance tooling and metrics
Demystifying web performance tooling and metrics
 
Is Poor Performance Dragging You Down? Here are Five Strategies to Maximize P...
Is Poor Performance Dragging You Down? Here are Five Strategies to Maximize P...Is Poor Performance Dragging You Down? Here are Five Strategies to Maximize P...
Is Poor Performance Dragging You Down? Here are Five Strategies to Maximize P...
 
WordPress optimization
WordPress optimizationWordPress optimization
WordPress optimization
 
o2script(UK) - Top Site Execution_ Compelling Devices and Systems.pdf
o2script(UK) - Top Site Execution_  Compelling Devices and Systems.pdfo2script(UK) - Top Site Execution_  Compelling Devices and Systems.pdf
o2script(UK) - Top Site Execution_ Compelling Devices and Systems.pdf
 
Website speed optimization guide for technically advanced webmasters
Website speed optimization guide for technically advanced webmastersWebsite speed optimization guide for technically advanced webmasters
Website speed optimization guide for technically advanced webmasters
 
Introduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website SpeedIntroduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website Speed
 

Último

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
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
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
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
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
 
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...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
₹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
 

Último (20)

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
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
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
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
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🔝
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
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...
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
₹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...
 

Boosting your conversion rate through web performance improvements

  • 1. ALYSS / OCTOBER 2017 Is it me or is it them? Boosting your conversion rate through web performance improvements
  • 2. ALYSS / OCTOBER 2017 Alyss Noland Developer Advocate @ BigCommerce
  • 3. Amazon’s calculated that a page load slowdown of just one second could cost it $1.6 billion in sales each year. Google has calculated that by slowing its search results by just four tenths of a second they could lose 8 million searches per day–meaning they’d serve up many millions fewer online adverts. Kit Eaton, Fast Company
  • 4. What are we talking about? ● Metrics ● Tools & Testing Strategies ● Performance Improvements ● Practical Implementation Tips
  • 5. Understanding impact Mobile First It isn’t just for your stylesheets! Mobile first also includes being mindful of data caps and accessibility when dealing with non-LTE speeds. Conversion & Retention Ever given up trying to load a website because it took too long? Your users probably have too. Brand Perception If your website feels fast, that’s great. If it feels slow to the end user, that has more impact (negatively) than some of the other niceties like rewards programs. Let’s clarify: what is web performance? Web performance refers to the speed in which web pages are downloaded and displayed on the user’s web browser. And web performance optimization is the field of knowledge about increasing web performance.
  • 7. Factors that impact performance HTTP Requests File Compression Caching Minification Image Optimization Redirects Infrastructure 404 Errors CDN Usage 3rd Party Content Fonts JavaScript Plugins Mixed Content Pre- (Fetch, Render, Connect) TTFB Feature overview goes here dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
  • 8. Top offenders When optimizing a site, I focus on: • Page size of top visited pages • Render blocking or slow blocking requests • Total number of HTTP requests • JavaScript performance Insert store screenshot/dashboard (optional)
  • 9. How do I test my website?
  • 10. Accessible (read “free”) testing tools ● Webpagetest.org ● Pingdom ● Varvy.com/pagespeed ● Developer tools in your browser of choice
  • 11. Performance Profiling in Chrome Source: https://umaar.com/dev-tips/
  • 12. Filter the testing noise When using these tools, you get a lot of data. For example, if you are on a SaaS platform, you may have less control over your TTFB, if you can pre-fetch/render/connect, and the critical rendering path. For folks managing their own hosting, the cost of a CDN may not be as accessible and infrastructure improvements may come more slowly due to budget caps.
  • 13. Okay, but how do I improve my website?
  • 14. Page Size Image size Is your website serving up that 4098 x 4098 px PNG that you uploaded? If your host or tools don’t support image optimization, try running images through tinypng.com first and resize. Don’t forget retina devices! JavaScript Try to keep your JavaScript under 300 kB per page (this will change over time). Are you loading JS on a page where it isn’t used? Get more precise! Can you do it with CSS? It is more performant over JavaScript that provides the same effects. GZIP & Minify CSS, JavaScript, and HTML don’t need to be prettified when served to the browser. Get rid of that white space and compress that file once you’re done. The HTTP Archive Report, which gathers technical information from 500,000 of the web’s most popular websites, reports that average page weight increased 16% during 2015 to reach 2,262 kB. In 2013, page size increased by 32%. It will continue to climb.
  • 15. Render blocking CSS & JavaScript In order to optimize the time to first render by the client: • Use CSS media types & queries for stylesheets needed only under certain conditions • Make JS asynchronous for external scripts • Defer loading of JS that isn’t critical for the initial page render • Leverage server-side rendering if using a javascript framework to construct the page 72.9% Of all websites use JQuery
  • 16. Optimize HTTP Requests HTTP/2! It’s new, shiny, and it allows multiple resources to be loaded in parallel using only one connection. If you’re still on HTTP1.1, try domain sharding. If you use a CDN, it may already support this. This will enable you to parallelize downloads across hostnames. Reduce the number of assets your pages need to load. Try image sprites (unless you are on HTTP/2), as an example.
  • 18. Practical Implementation Advice If you’re in the middle of the project, don’t get hung up on the details of optimization. Write code, then refactor and optimize. Set a web performance budget. Make the budget reasonable and achievable. This will keep you from moving the goal post and over-focusing long after the benefits have tapered off. Don’t audit your site just once. It easy to set it and forget it. Schedule quarterly or yearly performance audits to make sure you are within your performance budget. Don’t forget: fast is good, but good ux is better.
  • 19. ALYSS / OCTOBER 2017 Thank you!