SlideShare ist ein Scribd-Unternehmen logo
1 von 34
The most common optimisation
recommendations
Based on NCC Group Web Performance Health Checks 2014–5
#NCCWP
Ten most common recommendations…
Images are big
65% of page weight
Based on 10,000 pages
from the HTTP Archive
15 April 2015
Wrong format
For example, PNG for a photograph
Photo: Yoel Ben-Avraham www.flickr.com/photos/epublicist/
Metadata
Normally, it’s excess baggage
Photo: Ippei Ogiwara www.flickr.com/photos/iogi/
Not enough compression
Photo: Brian Teutsch www.flickr.com/photos/brianteutsch/
Lossy compression
Photo: marcovdz www.flickr.com/photos/marcovdz/
It’s possible to go too far…
Education
You can’t blame people for uploading big
images if they don’t know it’s a problem
Photo: Kevin Dooley www.flickr.com/photos/pagedooley/
Will new formats make the problem go away?
Photo: Stefano Bertolo www.flickr.com/photos/stefanobe/
Will new formats make the problem go away?
WebP: Chrome, Opera, Android Browser
JPEG XR: IE9+
BPG: http://bellard.org/bpg/
Photo: Stefano Bertolo www.flickr.com/photos/stefanobe/
Will new formats make the problem go away?
WebP: Chrome, Opera, Android Browser
JPEG XR: IE9+
BPG: http://bellard.org/bpg/
http://people.mozilla.org/~josh/lossy_compressed_image_study_july_2014/
Photo: Stefano Bertolo www.flickr.com/photos/stefanobe/
Combine CSS files and JS files
Cuts number of HTTP requests
Photo: Royce Bair www.flickr.com/photos/ironrodart/
Combine CSS files and JS files
But this won’t matter in the world of HTTP/2
Photo: Peter Roome www.flickr.com/photos/roome/
Minify text files
CSS is render blocking…
…so the sooner your CSS loads,
the sooner the page can start to render
Minify text files
It all adds up…
Photo: judy_and_ed www.flickr.com/photos/65924740@N00/
JavaScript blocks DOM construction by default…
Photo: John Haslam www.flickr.com/photos/foxypar4/
Don’t let JavaScript get in the way
Don’t let JavaScript get in the way
JavaScript blocks DOM construction by default…
…so load it as late as possible
(ideally, just before it’s used)
Photo: John Haslam www.flickr.com/photos/foxypar4/
Don’t let JavaScript get in the way
Or use the async attribute where possible:
<script src="myscript.js" async></script>
Don’t let JavaScript get in the way
JavaScript will no longer block DOM construction
Photo: Martin Brigden www.flickr.com/photos/noddymini/
Don’t let JavaScript get in the way
JavaScript will no longer block DOM construction
Neither will it wait for the CSSOM
Photo: Martin Brigden www.flickr.com/photos/noddymini/
Don’t let JavaScript get in the way
…so don’t use async for
JS that interacts with
the DOM/CSSOM
Image: Stefano Brivio www.flickr.com/photos/buggolo/
Remove unused CSS
Photo: steve_w www.flickr.com/photos/steve_way/
Remove unused CSS
Is it really unused?
Remove unused CSS
Photo: Willi Heidelbach www.flickr.com/photos/wilhei/
Remove unused CSS
Won’t subsequent pages be slower if the CSS isn’t
cached?
Remove unused CSS
Won’t subsequent pages be slower if the CSS isn’t
cached?
<link rel="prefetch" href="style.css">
Far-future caching for static objects
Photo: nabeki2009 www.flickr.com/photos/44377224@N08/
Review impact of third parties
Photo: Reuben Stanton www.flickr.com/photos/absent/
Review impact of third parties
Easier said than done
Photo: Reuben Stanton www.flickr.com/photos/absent/
Specify image dimensions
Photo: Michael Rosenstein www.flickr.com/photos/michaelcr/
Cookie-free domain for static objects
Photo: USFWS - Pacific Region www.flickr.com/photos/usfwspacific/
Cookie-free domain for static objects
Reduce upstream traffic
Photo: USFWS - Pacific Region www.flickr.com/photos/usfwspacific/
Compress text files
Gzipping typically reduces transmitted
file size by 60–70%
Photo: frankieleon www.flickr.com/photos/armydre2008/
Thank you!
If you have been affected by any of the issues in this
presentation, visit:
community.nccgroup-webperf.com
#NCCWP
Europe
Manchester - Head Office
Amsterdam
Cheltenham
Copenhagen
Edinburgh
Glasgow
Leatherhead
London
Milton Keynes
Munich
Zurich
North America
Atlanta
Austin
Chicago
New York
San Francisco
Seattle
Sunnyvale
Australia
Sydney

Weitere ähnliche Inhalte

Was ist angesagt?

B logging for_students (1)
B logging for_students (1)B logging for_students (1)
B logging for_students (1)lewisj02
 
Let’s Talk About Tech, Baby! How to Talk About Technology Horizontally and V...
Let’s Talk About Tech, Baby!  How to Talk About Technology Horizontally and V...Let’s Talk About Tech, Baby!  How to Talk About Technology Horizontally and V...
Let’s Talk About Tech, Baby! How to Talk About Technology Horizontally and V...Miminten
 
Online Northwest 2009 Accessibility and Online Learning
Online Northwest 2009 Accessibility and Online LearningOnline Northwest 2009 Accessibility and Online Learning
Online Northwest 2009 Accessibility and Online Learningthewakilibrarian
 
Moving Out: Why and how to take your web stuff to a hosted space
Moving Out: Why and how to take your web stuff to a hosted spaceMoving Out: Why and how to take your web stuff to a hosted space
Moving Out: Why and how to take your web stuff to a hosted spaceLisa M Lane
 
Georgia Tech hacking Accessibility
Georgia Tech hacking AccessibilityGeorgia Tech hacking Accessibility
Georgia Tech hacking AccessibilityChristian Heilmann
 
Creating Book Trailers
Creating Book TrailersCreating Book Trailers
Creating Book TrailersNaomi Bates
 
HTML5 intro
HTML5 introHTML5 intro
HTML5 introYoniWeb
 
Finding harmony in web development
Finding harmony in web developmentFinding harmony in web development
Finding harmony in web developmentChristian Heilmann
 
Library Innovation Links
Library Innovation LinksLibrary Innovation Links
Library Innovation Linksjsbeach
 
7 steps-to-migrate-your-seo-strategy robin-neyt
7 steps-to-migrate-your-seo-strategy robin-neyt7 steps-to-migrate-your-seo-strategy robin-neyt
7 steps-to-migrate-your-seo-strategy robin-neytmichael_wijs
 
Truly Responsive Design Means Aligning to Business and User Goals
Truly Responsive Design Means Aligning to Business and User GoalsTruly Responsive Design Means Aligning to Business and User Goals
Truly Responsive Design Means Aligning to Business and User GoalsJohn Eckman
 
The wheel is spinning but the hamster is almost dead - Smartweb 2015
The wheel is spinning but the hamster is almost dead - Smartweb 2015The wheel is spinning but the hamster is almost dead - Smartweb 2015
The wheel is spinning but the hamster is almost dead - Smartweb 2015Christian Heilmann
 
Preparing For The Flood. How Do You Conduct Load Testing To Ready Your WordPr...
Preparing For The Flood. How Do You Conduct Load Testing To Ready Your WordPr...Preparing For The Flood. How Do You Conduct Load Testing To Ready Your WordPr...
Preparing For The Flood. How Do You Conduct Load Testing To Ready Your WordPr...WordCamp Sydney
 
Recreating mobile controls in mobile web apps
Recreating mobile controls in mobile web appsRecreating mobile controls in mobile web apps
Recreating mobile controls in mobile web appsChris Love
 
Understanding Social Media Day Two - Video
Understanding Social Media Day Two - VideoUnderstanding Social Media Day Two - Video
Understanding Social Media Day Two - Videomdda
 
Browsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talkBrowsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talkZi Bin Cheah
 
CU Online Spring Symposium 2009 Multimedia
CU Online Spring Symposium 2009 MultimediaCU Online Spring Symposium 2009 Multimedia
CU Online Spring Symposium 2009 MultimediaPatrick Lowenthal
 
Your Design Does Not Matter If It Cannot Be Implemented
Your Design Does Not Matter If It Cannot Be ImplementedYour Design Does Not Matter If It Cannot Be Implemented
Your Design Does Not Matter If It Cannot Be ImplementedDavid Hobbs Consulting
 
Yout Design Doesn't Matter If It Can't Be Implemented (David Hobbs)
Yout Design Doesn't Matter If It Can't Be Implemented (David Hobbs)Yout Design Doesn't Matter If It Can't Be Implemented (David Hobbs)
Yout Design Doesn't Matter If It Can't Be Implemented (David Hobbs)uxpa-dc
 

Was ist angesagt? (20)

B logging for_students (1)
B logging for_students (1)B logging for_students (1)
B logging for_students (1)
 
Let’s Talk About Tech, Baby! How to Talk About Technology Horizontally and V...
Let’s Talk About Tech, Baby!  How to Talk About Technology Horizontally and V...Let’s Talk About Tech, Baby!  How to Talk About Technology Horizontally and V...
Let’s Talk About Tech, Baby! How to Talk About Technology Horizontally and V...
 
Online Northwest 2009 Accessibility and Online Learning
Online Northwest 2009 Accessibility and Online LearningOnline Northwest 2009 Accessibility and Online Learning
Online Northwest 2009 Accessibility and Online Learning
 
Moving Out: Why and how to take your web stuff to a hosted space
Moving Out: Why and how to take your web stuff to a hosted spaceMoving Out: Why and how to take your web stuff to a hosted space
Moving Out: Why and how to take your web stuff to a hosted space
 
Georgia Tech hacking Accessibility
Georgia Tech hacking AccessibilityGeorgia Tech hacking Accessibility
Georgia Tech hacking Accessibility
 
Creating Book Trailers
Creating Book TrailersCreating Book Trailers
Creating Book Trailers
 
HTML5 intro
HTML5 introHTML5 intro
HTML5 intro
 
Finding harmony in web development
Finding harmony in web developmentFinding harmony in web development
Finding harmony in web development
 
Library Innovation Links
Library Innovation LinksLibrary Innovation Links
Library Innovation Links
 
7 steps-to-migrate-your-seo-strategy robin-neyt
7 steps-to-migrate-your-seo-strategy robin-neyt7 steps-to-migrate-your-seo-strategy robin-neyt
7 steps-to-migrate-your-seo-strategy robin-neyt
 
Truly Responsive Design Means Aligning to Business and User Goals
Truly Responsive Design Means Aligning to Business and User GoalsTruly Responsive Design Means Aligning to Business and User Goals
Truly Responsive Design Means Aligning to Business and User Goals
 
The wheel is spinning but the hamster is almost dead - Smartweb 2015
The wheel is spinning but the hamster is almost dead - Smartweb 2015The wheel is spinning but the hamster is almost dead - Smartweb 2015
The wheel is spinning but the hamster is almost dead - Smartweb 2015
 
Preparing For The Flood. How Do You Conduct Load Testing To Ready Your WordPr...
Preparing For The Flood. How Do You Conduct Load Testing To Ready Your WordPr...Preparing For The Flood. How Do You Conduct Load Testing To Ready Your WordPr...
Preparing For The Flood. How Do You Conduct Load Testing To Ready Your WordPr...
 
Recreating mobile controls in mobile web apps
Recreating mobile controls in mobile web appsRecreating mobile controls in mobile web apps
Recreating mobile controls in mobile web apps
 
Understanding Social Media Day Two - Video
Understanding Social Media Day Two - VideoUnderstanding Social Media Day Two - Video
Understanding Social Media Day Two - Video
 
Browsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talkBrowsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talk
 
Technology Tips for Administrators
Technology Tips for AdministratorsTechnology Tips for Administrators
Technology Tips for Administrators
 
CU Online Spring Symposium 2009 Multimedia
CU Online Spring Symposium 2009 MultimediaCU Online Spring Symposium 2009 Multimedia
CU Online Spring Symposium 2009 Multimedia
 
Your Design Does Not Matter If It Cannot Be Implemented
Your Design Does Not Matter If It Cannot Be ImplementedYour Design Does Not Matter If It Cannot Be Implemented
Your Design Does Not Matter If It Cannot Be Implemented
 
Yout Design Doesn't Matter If It Can't Be Implemented (David Hobbs)
Yout Design Doesn't Matter If It Can't Be Implemented (David Hobbs)Yout Design Doesn't Matter If It Can't Be Implemented (David Hobbs)
Yout Design Doesn't Matter If It Can't Be Implemented (David Hobbs)
 

Andere mochten auch

To Microservices and Beyond
To Microservices and BeyondTo Microservices and Beyond
To Microservices and BeyondSimon Elisha
 
Deeply Inspired Designs Porfolio
Deeply Inspired Designs PorfolioDeeply Inspired Designs Porfolio
Deeply Inspired Designs PorfolioNatalie Acevedo
 
Senior marketing specialist performance appraisal
Senior marketing specialist performance appraisalSenior marketing specialist performance appraisal
Senior marketing specialist performance appraisalcodyfred747
 
Medical administrative specialist performance appraisal
Medical administrative specialist performance appraisalMedical administrative specialist performance appraisal
Medical administrative specialist performance appraisalcodyfred747
 
Stock Repurchases aka Share Buybacks for US Firms
Stock Repurchases aka Share Buybacks for US FirmsStock Repurchases aka Share Buybacks for US Firms
Stock Repurchases aka Share Buybacks for US FirmsPranav Ghai
 
Designing a slideshare technical presentation
Designing a slideshare technical presentationDesigning a slideshare technical presentation
Designing a slideshare technical presentationTa No
 
PP 22 tahun 2016 tentang THR Non PNS dan Lembaga Non Struktural
PP 22 tahun 2016 tentang THR Non PNS dan Lembaga Non StrukturalPP 22 tahun 2016 tentang THR Non PNS dan Lembaga Non Struktural
PP 22 tahun 2016 tentang THR Non PNS dan Lembaga Non StrukturalMuhammad Sirajuddin
 
Meaningful EMR Use - A Survey of Family Practice Clinics - TAGG_BEKKI_MSC_2015
Meaningful EMR Use - A Survey of Family Practice Clinics - TAGG_BEKKI_MSC_2015Meaningful EMR Use - A Survey of Family Practice Clinics - TAGG_BEKKI_MSC_2015
Meaningful EMR Use - A Survey of Family Practice Clinics - TAGG_BEKKI_MSC_2015Bekki Tagg
 
Giảm cân nhanh chóng không mang lại kết quả mong muốn
Giảm cân nhanh chóng không mang lại kết quả mong muốnGiảm cân nhanh chóng không mang lại kết quả mong muốn
Giảm cân nhanh chóng không mang lại kết quả mong muốnyasmin367
 

Andere mochten auch (13)

To Microservices and Beyond
To Microservices and BeyondTo Microservices and Beyond
To Microservices and Beyond
 
Deeply Inspired Designs Porfolio
Deeply Inspired Designs PorfolioDeeply Inspired Designs Porfolio
Deeply Inspired Designs Porfolio
 
Senior marketing specialist performance appraisal
Senior marketing specialist performance appraisalSenior marketing specialist performance appraisal
Senior marketing specialist performance appraisal
 
HTS-Corporate Profile
HTS-Corporate ProfileHTS-Corporate Profile
HTS-Corporate Profile
 
Medical administrative specialist performance appraisal
Medical administrative specialist performance appraisalMedical administrative specialist performance appraisal
Medical administrative specialist performance appraisal
 
PHC Postcard Samples
PHC Postcard SamplesPHC Postcard Samples
PHC Postcard Samples
 
Stock Repurchases aka Share Buybacks for US Firms
Stock Repurchases aka Share Buybacks for US FirmsStock Repurchases aka Share Buybacks for US Firms
Stock Repurchases aka Share Buybacks for US Firms
 
Designing a slideshare technical presentation
Designing a slideshare technical presentationDesigning a slideshare technical presentation
Designing a slideshare technical presentation
 
Samir-Senior
Samir-SeniorSamir-Senior
Samir-Senior
 
PRINCE CV
PRINCE CVPRINCE CV
PRINCE CV
 
PP 22 tahun 2016 tentang THR Non PNS dan Lembaga Non Struktural
PP 22 tahun 2016 tentang THR Non PNS dan Lembaga Non StrukturalPP 22 tahun 2016 tentang THR Non PNS dan Lembaga Non Struktural
PP 22 tahun 2016 tentang THR Non PNS dan Lembaga Non Struktural
 
Meaningful EMR Use - A Survey of Family Practice Clinics - TAGG_BEKKI_MSC_2015
Meaningful EMR Use - A Survey of Family Practice Clinics - TAGG_BEKKI_MSC_2015Meaningful EMR Use - A Survey of Family Practice Clinics - TAGG_BEKKI_MSC_2015
Meaningful EMR Use - A Survey of Family Practice Clinics - TAGG_BEKKI_MSC_2015
 
Giảm cân nhanh chóng không mang lại kết quả mong muốn
Giảm cân nhanh chóng không mang lại kết quả mong muốnGiảm cân nhanh chóng không mang lại kết quả mong muốn
Giảm cân nhanh chóng không mang lại kết quả mong muốn
 

Ähnlich wie Common web performance recommendations

Speed is Essential for a Great Web Experience
Speed is Essential for a Great Web ExperienceSpeed is Essential for a Great Web Experience
Speed is Essential for a Great Web ExperienceAndy Davies
 
Join the Secret Revolution
Join the Secret RevolutionJoin the Secret Revolution
Join the Secret RevolutionAlan Levine
 
How To Succeed In Web Design
How To Succeed In Web DesignHow To Succeed In Web Design
How To Succeed In Web DesignShawn Rider
 
Innovative Practice with Web 2.0
Innovative Practice with Web 2.0Innovative Practice with Web 2.0
Innovative Practice with Web 2.0JISC BCE
 
The Age of Responsive Design
The Age of Responsive DesignThe Age of Responsive Design
The Age of Responsive DesignDenise Jacobs
 
Estudio34 Presents Will critchlow the future of linkbuilding in LinkLove2013
Estudio34 Presents Will critchlow the future of linkbuilding in LinkLove2013Estudio34 Presents Will critchlow the future of linkbuilding in LinkLove2013
Estudio34 Presents Will critchlow the future of linkbuilding in LinkLove2013William Renedo
 
Will Critchlow - The Future of Link Building
Will Critchlow - The Future of Link BuildingWill Critchlow - The Future of Link Building
Will Critchlow - The Future of Link BuildingDistilled
 
How Social Software Helps Get Work Done
How Social Software Helps Get Work DoneHow Social Software Helps Get Work Done
How Social Software Helps Get Work DoneAlan Lepofsky
 
Connected Collaboration
Connected CollaborationConnected Collaboration
Connected CollaborationAlan Lepofsky
 
Behaviour-Driven Development: escrevendo especificações ágeis
Behaviour-Driven Development: escrevendo especificações ágeisBehaviour-Driven Development: escrevendo especificações ágeis
Behaviour-Driven Development: escrevendo especificações ágeisHugo Lopes Tavares
 
Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Maximising Your SERP Potential - Enhance your listings with Rich Snippets Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Maximising Your SERP Potential - Enhance your listings with Rich Snippets Peter Handley
 
Just Too Late
Just Too LateJust Too Late
Just Too Latekatzj
 
The Importance of Storytelling in Web Design, WordCamp Miami 2013
The Importance of Storytelling in Web Design, WordCamp Miami 2013The Importance of Storytelling in Web Design, WordCamp Miami 2013
The Importance of Storytelling in Web Design, WordCamp Miami 2013Denise Jacobs
 
The Secret Revolution (Keene State College)
The Secret Revolution (Keene State College)The Secret Revolution (Keene State College)
The Secret Revolution (Keene State College)Alan Levine
 
The Future of Design is Not Just the Web - Web Visions Workshop 2011
The Future of Design is Not Just the Web - Web Visions Workshop 2011The Future of Design is Not Just the Web - Web Visions Workshop 2011
The Future of Design is Not Just the Web - Web Visions Workshop 2011Samantha Starmer
 
Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?
Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?
Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?Andy Davies
 
Fix price fix scope fix date-pecha_kuchas-journeeagile2014
Fix price fix scope fix date-pecha_kuchas-journeeagile2014Fix price fix scope fix date-pecha_kuchas-journeeagile2014
Fix price fix scope fix date-pecha_kuchas-journeeagile2014Gilles Scokart
 
Speed Up Wordpress Wordcamp Pdx 2009
Speed Up Wordpress Wordcamp Pdx 2009Speed Up Wordpress Wordcamp Pdx 2009
Speed Up Wordpress Wordcamp Pdx 2009Jason Grigsby
 

Ähnlich wie Common web performance recommendations (20)

Speed is Essential for a Great Web Experience
Speed is Essential for a Great Web ExperienceSpeed is Essential for a Great Web Experience
Speed is Essential for a Great Web Experience
 
Join the Secret Revolution
Join the Secret RevolutionJoin the Secret Revolution
Join the Secret Revolution
 
How To Succeed In Web Design
How To Succeed In Web DesignHow To Succeed In Web Design
How To Succeed In Web Design
 
Innovative Practice with Web 2.0
Innovative Practice with Web 2.0Innovative Practice with Web 2.0
Innovative Practice with Web 2.0
 
The Age of Responsive Design
The Age of Responsive DesignThe Age of Responsive Design
The Age of Responsive Design
 
Estudio34 Presents Will critchlow the future of linkbuilding in LinkLove2013
Estudio34 Presents Will critchlow the future of linkbuilding in LinkLove2013Estudio34 Presents Will critchlow the future of linkbuilding in LinkLove2013
Estudio34 Presents Will critchlow the future of linkbuilding in LinkLove2013
 
Will Critchlow - The Future of Link Building
Will Critchlow - The Future of Link BuildingWill Critchlow - The Future of Link Building
Will Critchlow - The Future of Link Building
 
How Social Software Helps Get Work Done
How Social Software Helps Get Work DoneHow Social Software Helps Get Work Done
How Social Software Helps Get Work Done
 
Connected Collaboration
Connected CollaborationConnected Collaboration
Connected Collaboration
 
Behaviour-Driven Development: escrevendo especificações ágeis
Behaviour-Driven Development: escrevendo especificações ágeisBehaviour-Driven Development: escrevendo especificações ágeis
Behaviour-Driven Development: escrevendo especificações ágeis
 
Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Maximising Your SERP Potential - Enhance your listings with Rich Snippets Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Maximising Your SERP Potential - Enhance your listings with Rich Snippets
 
Just Too Late
Just Too LateJust Too Late
Just Too Late
 
The Importance of Storytelling in Web Design, WordCamp Miami 2013
The Importance of Storytelling in Web Design, WordCamp Miami 2013The Importance of Storytelling in Web Design, WordCamp Miami 2013
The Importance of Storytelling in Web Design, WordCamp Miami 2013
 
Metrics that Matter
Metrics that MatterMetrics that Matter
Metrics that Matter
 
The Secret Revolution (Keene State College)
The Secret Revolution (Keene State College)The Secret Revolution (Keene State College)
The Secret Revolution (Keene State College)
 
The Future of Design is Not Just the Web - Web Visions Workshop 2011
The Future of Design is Not Just the Web - Web Visions Workshop 2011The Future of Design is Not Just the Web - Web Visions Workshop 2011
The Future of Design is Not Just the Web - Web Visions Workshop 2011
 
Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?
Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?
Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?
 
Social Software For Business
Social Software For BusinessSocial Software For Business
Social Software For Business
 
Fix price fix scope fix date-pecha_kuchas-journeeagile2014
Fix price fix scope fix date-pecha_kuchas-journeeagile2014Fix price fix scope fix date-pecha_kuchas-journeeagile2014
Fix price fix scope fix date-pecha_kuchas-journeeagile2014
 
Speed Up Wordpress Wordcamp Pdx 2009
Speed Up Wordpress Wordcamp Pdx 2009Speed Up Wordpress Wordcamp Pdx 2009
Speed Up Wordpress Wordcamp Pdx 2009
 

Kürzlich hochgeladen

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Kürzlich hochgeladen (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Common web performance recommendations

  • 1. The most common optimisation recommendations Based on NCC Group Web Performance Health Checks 2014–5 #NCCWP
  • 2. Ten most common recommendations…
  • 3. Images are big 65% of page weight Based on 10,000 pages from the HTTP Archive 15 April 2015
  • 4. Wrong format For example, PNG for a photograph Photo: Yoel Ben-Avraham www.flickr.com/photos/epublicist/
  • 5. Metadata Normally, it’s excess baggage Photo: Ippei Ogiwara www.flickr.com/photos/iogi/
  • 6. Not enough compression Photo: Brian Teutsch www.flickr.com/photos/brianteutsch/
  • 7. Lossy compression Photo: marcovdz www.flickr.com/photos/marcovdz/ It’s possible to go too far…
  • 8. Education You can’t blame people for uploading big images if they don’t know it’s a problem Photo: Kevin Dooley www.flickr.com/photos/pagedooley/
  • 9. Will new formats make the problem go away? Photo: Stefano Bertolo www.flickr.com/photos/stefanobe/
  • 10. Will new formats make the problem go away? WebP: Chrome, Opera, Android Browser JPEG XR: IE9+ BPG: http://bellard.org/bpg/ Photo: Stefano Bertolo www.flickr.com/photos/stefanobe/
  • 11. Will new formats make the problem go away? WebP: Chrome, Opera, Android Browser JPEG XR: IE9+ BPG: http://bellard.org/bpg/ http://people.mozilla.org/~josh/lossy_compressed_image_study_july_2014/ Photo: Stefano Bertolo www.flickr.com/photos/stefanobe/
  • 12. Combine CSS files and JS files Cuts number of HTTP requests Photo: Royce Bair www.flickr.com/photos/ironrodart/
  • 13. Combine CSS files and JS files But this won’t matter in the world of HTTP/2 Photo: Peter Roome www.flickr.com/photos/roome/
  • 14. Minify text files CSS is render blocking… …so the sooner your CSS loads, the sooner the page can start to render
  • 15. Minify text files It all adds up… Photo: judy_and_ed www.flickr.com/photos/65924740@N00/
  • 16. JavaScript blocks DOM construction by default… Photo: John Haslam www.flickr.com/photos/foxypar4/ Don’t let JavaScript get in the way
  • 17. Don’t let JavaScript get in the way JavaScript blocks DOM construction by default… …so load it as late as possible (ideally, just before it’s used) Photo: John Haslam www.flickr.com/photos/foxypar4/
  • 18. Don’t let JavaScript get in the way Or use the async attribute where possible: <script src="myscript.js" async></script>
  • 19. Don’t let JavaScript get in the way JavaScript will no longer block DOM construction Photo: Martin Brigden www.flickr.com/photos/noddymini/
  • 20. Don’t let JavaScript get in the way JavaScript will no longer block DOM construction Neither will it wait for the CSSOM Photo: Martin Brigden www.flickr.com/photos/noddymini/
  • 21. Don’t let JavaScript get in the way …so don’t use async for JS that interacts with the DOM/CSSOM Image: Stefano Brivio www.flickr.com/photos/buggolo/
  • 22. Remove unused CSS Photo: steve_w www.flickr.com/photos/steve_way/
  • 23. Remove unused CSS Is it really unused? Remove unused CSS Photo: Willi Heidelbach www.flickr.com/photos/wilhei/
  • 24. Remove unused CSS Won’t subsequent pages be slower if the CSS isn’t cached?
  • 25. Remove unused CSS Won’t subsequent pages be slower if the CSS isn’t cached? <link rel="prefetch" href="style.css">
  • 26. Far-future caching for static objects Photo: nabeki2009 www.flickr.com/photos/44377224@N08/
  • 27. Review impact of third parties Photo: Reuben Stanton www.flickr.com/photos/absent/
  • 28. Review impact of third parties Easier said than done Photo: Reuben Stanton www.flickr.com/photos/absent/
  • 29. Specify image dimensions Photo: Michael Rosenstein www.flickr.com/photos/michaelcr/
  • 30. Cookie-free domain for static objects Photo: USFWS - Pacific Region www.flickr.com/photos/usfwspacific/
  • 31. Cookie-free domain for static objects Reduce upstream traffic Photo: USFWS - Pacific Region www.flickr.com/photos/usfwspacific/
  • 32. Compress text files Gzipping typically reduces transmitted file size by 60–70% Photo: frankieleon www.flickr.com/photos/armydre2008/
  • 33. Thank you! If you have been affected by any of the issues in this presentation, visit: community.nccgroup-webperf.com #NCCWP
  • 34. Europe Manchester - Head Office Amsterdam Cheltenham Copenhagen Edinburgh Glasgow Leatherhead London Milton Keynes Munich Zurich North America Atlanta Austin Chicago New York San Francisco Seattle Sunnyvale Australia Sydney

Hinweis der Redaktion

  1. ?
  2. .