SlideShare una empresa de Scribd logo
1 de 41
Designing Faster Websites
Design Camp Boston 2010
Jonathan Klein / jklein@csnstores.com
@jonathanklein
What We Will Discuss
• Why do we want faster sites?
• What does “Load Time” mean?
• Tools for Measuring Performance
• Performance Best Practices
• Design Techniques to Improve Performance
• Specific “Take Home” Optimizations
• How Fast is Fast Enough?
Why Do We Want Faster Sites?
A Faster Website Will Make Your Users Happy
Google
Injected a 400ms delay
0.44% fewer searches per user
0.76% after six weeks
After the delay was removed, 0.21% fewer searches
Amazon
100ms delay resulted in a 1% drop in revenue
Microsoft
1 second delay on bing.com/live.com
2.8% drop in revenue per user
2 second delay  4.3% drop
Shopzilla
Complete site redesign
Reduced load time by 5 seconds
7-12% increase in revenue
50% reduction in hardware use
http://en.oreilly.com/velocity2009/public/schedule/detail/7709
The Value of Performance
• Many, many more examples
– http://www.phpied.com/the-performance-business-pitch/
• A faster site will increase conversion and
reduce bounce rate/exit rate
• It will reduce hardware costs
• It will improve SEO
– http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search-
ranking.html
In other words…
A faster website will make you more money
What does Load Time Mean?
• Two Main Pieces
– Server side generation time (cook time, crunch
time, bake time, etc.)
– Client side render time
• 80-90% of load time takes place on the client
– This is where we want to focus our efforts (in most
cases)
– Optimize something that’s 2% of load time….
Tools for Measuring Performance
• WebPagetest (www.webpagetest.org)
• Firebug
• YSlow
• PageSpeed
• DynaTrace Ajax Edition
• Google Webmaster Tools
• Yottaa.com
Performance Best Practices
Steve Souders – “High Performance Websites”
14 Rules
Rule #1
Make Fewer HTTP Requests
CSS Image Sprites
Combine Images:
More Rules
• Order style sheets and scripts appropriately
– Rule #5: Put stylesheets at the top
– Rule #6: Put scripts at the bottom
Combine CSS/JS and Make External
• Rule #8 – Make JavaScript and CSS external
– Browser caches it
– You can easily minify/gzip the content
• Ideally only 1 CSS file and 1 JS file per page
What About Design?
Be Economical
Build a Widget Library and Reuse
Reduce, Reuse, Recycle
You Don’t Want This:
Consistency
“If two design elements are too similar to be
included on the same page, they are too
similar to be included on the same site”
- Nicole Sullivan
Optimize Images And Sprites
• For graphics use PNG8 (256 color limitation)
• JPEGS can typically be saved at 75% quality
– Some people say 50%
Pick the Correct File Type
51 KB
1.88 KB
Smush Your Images – smushit.com
5 Image Optimizations
1. Limit the overall number of colors and
combine similar ones
2. Avoid whitespace
3. Reduce anti-aliased pixels
4. Avoid diagonal gradients
5. Change gradient color every 2-3 pixels
http://video.yahoo.com/watch/4156174/11192533
Use a CSS Grids System (YUI)
• Easily build complex page layouts
• Flexible, reusable, works in all browsers
• Save time, bytes
http://developer.yahoo.com/yui/grids/
Use Data URIs/MHTML When Possible
• Eliminates HTTP requests
• Encode image data directly in your CSS
background:url(data:image/png;base64,<data>);
• http://www.nczonline.net/blog/2010/07/06/data-uris-
make-css-sprites-obsolete/
JavaScript
• “Render First, JS Second” – Steve Souders
• Avoid using blocking JavaScript when possible
• Use a library (YUI, JQuery)
Three Buckets for Frontend
Performance
1. Reduce the number of requests the browser
has to make
2. Reduce overall page weight (KB on the wire)
3. Make the browser do less work (executing
code, applying CSS, painting, etc.).
How Fast is Fast Enough?
• Do market research, compare your site with
competitors
• Make sure you are the fastest, then get faster
• Painting the Golden Gate Bridge
Let’s Talk About Google
Obsessed with Improving Performance
Got HTTP Requests?
“A small image costs $1.00, a large image costs
$1.01”
-Marissa Mayer (Google)
So What Would They Say?
“We want you to be able to flick from one page
to another as quickly as you can flick a page on
a book. So we’re really aiming very, very high
here...at something like 100 milliseconds.”
- Urs Hölzle, Senior VP Operations, Google
So What Would They Say?
“We want you to be able to flick from one page
to another as quickly as you can flick a page on
a book. So we’re really aiming very, very high
here...at something like 100 milliseconds.”
- Urs Hölzle, Senior VP Operations, Google
Putting Their Money Where Their
Mouth Is
• Google Chrome
• Google DNS
• Google Instant
• PageSpeed Addon
• mod_pagespeed
• WebP
• The list goes on…
Conclusion
“Speed is the most important feature. If your
application is slow, people won’t use it. I see this
more with mainstream users than I do with power
users...If something is slow, they’re just gone.”
- Fred Wilson (10 Golden Principles of Web Apps)
Conclusion
“Speed is the most important feature. If your
application is slow, people won’t use it. I see this
more with mainstream users than I do with power
users...If something is slow, they’re just gone.”
- Fred Wilson (10 Golden Principles of Web Apps)
Thanks!
www.csnstores.com/careers
www.meetup.com/Web-Performance-Boston
www.slideshare.net/jnklein

Más contenido relacionado

La actualidad más candente

Writing for the Web (content)
Writing for the Web (content)Writing for the Web (content)
Writing for the Web (content)Ramsey Mohsen
 
SEO Do's and Dont's - Search in 2018
SEO Do's and Dont's - Search in 2018SEO Do's and Dont's - Search in 2018
SEO Do's and Dont's - Search in 2018Linus Logren
 
The SEO Workshop (session 2)
The SEO Workshop (session 2)The SEO Workshop (session 2)
The SEO Workshop (session 2)RankAbove
 
My Journey with WordPress
My Journey with WordPressMy Journey with WordPress
My Journey with WordPressJohnHughesGolf
 
Benefits of a Content Management System
Benefits of a Content Management SystemBenefits of a Content Management System
Benefits of a Content Management SystemRezStream
 
Mobilizing wordpress WordCamp Edmonton 2011
Mobilizing wordpress WordCamp Edmonton 2011Mobilizing wordpress WordCamp Edmonton 2011
Mobilizing wordpress WordCamp Edmonton 2011Curtis McHale
 
SEO Copywriting for Humans
SEO Copywriting for HumansSEO Copywriting for Humans
SEO Copywriting for HumansMelanie Seibert
 
Hanoi php day 2008 - 03. dang minh tuan - html, css, javascript
Hanoi php day 2008 - 03. dang minh tuan - html, css, javascriptHanoi php day 2008 - 03. dang minh tuan - html, css, javascript
Hanoi php day 2008 - 03. dang minh tuan - html, css, javascriptNguyen Duc Phu
 
Shopify SEO & Analytics Training
Shopify SEO & Analytics TrainingShopify SEO & Analytics Training
Shopify SEO & Analytics Trainingseoplus+
 
SEO & Large websites - Search University 2012
SEO & Large websites - Search University 2012SEO & Large websites - Search University 2012
SEO & Large websites - Search University 2012Sven De Meyere
 
Week 10 Additional Linking
Week 10 Additional LinkingWeek 10 Additional Linking
Week 10 Additional Linkingmichaelsbrown
 
Tips on how best to use Word Press
Tips on how best to use Word Press Tips on how best to use Word Press
Tips on how best to use Word Press Tomo360, LLC
 
How to Increase Your Website Traffic?
How to Increase Your Website Traffic?How to Increase Your Website Traffic?
How to Increase Your Website Traffic?Ivan Bayross
 
Ten Tips for Fixing Your Terrible Website
Ten Tips for Fixing Your Terrible WebsiteTen Tips for Fixing Your Terrible Website
Ten Tips for Fixing Your Terrible WebsiteOn-Site
 
WU Library Website Redesign
WU Library Website RedesignWU Library Website Redesign
WU Library Website RedesignJenny Rosenfeld
 

La actualidad más candente (20)

Writing for the Web (content)
Writing for the Web (content)Writing for the Web (content)
Writing for the Web (content)
 
SUPER SIMPLE WORDPRESS SEO
SUPER SIMPLE WORDPRESS SEOSUPER SIMPLE WORDPRESS SEO
SUPER SIMPLE WORDPRESS SEO
 
SEO Do's and Dont's - Search in 2018
SEO Do's and Dont's - Search in 2018SEO Do's and Dont's - Search in 2018
SEO Do's and Dont's - Search in 2018
 
The SEO Workshop (session 2)
The SEO Workshop (session 2)The SEO Workshop (session 2)
The SEO Workshop (session 2)
 
My Journey with WordPress
My Journey with WordPressMy Journey with WordPress
My Journey with WordPress
 
Benefits of a Content Management System
Benefits of a Content Management SystemBenefits of a Content Management System
Benefits of a Content Management System
 
Addictomatic
AddictomaticAddictomatic
Addictomatic
 
Blog Presentation
Blog PresentationBlog Presentation
Blog Presentation
 
Mobilizing wordpress WordCamp Edmonton 2011
Mobilizing wordpress WordCamp Edmonton 2011Mobilizing wordpress WordCamp Edmonton 2011
Mobilizing wordpress WordCamp Edmonton 2011
 
SEO Copywriting for Humans
SEO Copywriting for HumansSEO Copywriting for Humans
SEO Copywriting for Humans
 
Hanoi php day 2008 - 03. dang minh tuan - html, css, javascript
Hanoi php day 2008 - 03. dang minh tuan - html, css, javascriptHanoi php day 2008 - 03. dang minh tuan - html, css, javascript
Hanoi php day 2008 - 03. dang minh tuan - html, css, javascript
 
Shopify SEO & Analytics Training
Shopify SEO & Analytics TrainingShopify SEO & Analytics Training
Shopify SEO & Analytics Training
 
SEO & Large websites - Search University 2012
SEO & Large websites - Search University 2012SEO & Large websites - Search University 2012
SEO & Large websites - Search University 2012
 
Week 10 Additional Linking
Week 10 Additional LinkingWeek 10 Additional Linking
Week 10 Additional Linking
 
Pandas
PandasPandas
Pandas
 
Tips on how best to use Word Press
Tips on how best to use Word Press Tips on how best to use Word Press
Tips on how best to use Word Press
 
How to Increase Your Website Traffic?
How to Increase Your Website Traffic?How to Increase Your Website Traffic?
How to Increase Your Website Traffic?
 
Ten Tips for Fixing Your Terrible Website
Ten Tips for Fixing Your Terrible WebsiteTen Tips for Fixing Your Terrible Website
Ten Tips for Fixing Your Terrible Website
 
WU Library Website Redesign
WU Library Website RedesignWU Library Website Redesign
WU Library Website Redesign
 
Seo training
Seo trainingSeo training
Seo training
 

Similar a Designing Faster Websites to Improve Performance and Increase Revenue

Cvcc performance tuning
Cvcc performance tuningCvcc performance tuning
Cvcc performance tuningJohn McCaffrey
 
10 Things You Can Do to Speed Up Your Web App Today
10 Things You Can Do to Speed Up Your Web App Today10 Things You Can Do to Speed Up Your Web App Today
10 Things You Can Do to Speed Up Your Web App TodayChris Love
 
10 things you can do to speed up your web app today stir trek edition
10 things you can do to speed up your web app today   stir trek edition10 things you can do to speed up your web app today   stir trek edition
10 things you can do to speed up your web app today stir trek editionChris Love
 
Getting started with dev tools (4/10/17 DC)
Getting started with dev tools (4/10/17 DC)Getting started with dev tools (4/10/17 DC)
Getting started with dev tools (4/10/17 DC)Daniel Friedman
 
Demand Quest SEO training session 2
Demand Quest SEO training session 2Demand Quest SEO training session 2
Demand Quest SEO training session 2Nate Plaunt
 
SEO and search plugins
SEO and search pluginsSEO and search plugins
SEO and search pluginsdotCMS
 
Page Performance: A No-Holds Barred, Holistic Look
Page Performance: A No-Holds Barred, Holistic LookPage Performance: A No-Holds Barred, Holistic Look
Page Performance: A No-Holds Barred, Holistic LookJeff Whitfield
 
EscConf - Deep Dive Frontend Optimization
EscConf - Deep Dive Frontend OptimizationEscConf - Deep Dive Frontend Optimization
EscConf - Deep Dive Frontend OptimizationJonathan Klein
 
Search Engine Optimization and Analytics for CSEPP Advanced Training Course
Search Engine Optimization and Analytics for CSEPP Advanced Training CourseSearch Engine Optimization and Analytics for CSEPP Advanced Training Course
Search Engine Optimization and Analytics for CSEPP Advanced Training CourseBryan Campbell
 
Search Engine Optimisation Basics
Search Engine Optimisation BasicsSearch Engine Optimisation Basics
Search Engine Optimisation BasicsRyan Jones
 
Page Performance
Page PerformancePage Performance
Page Performanceatorreno
 
Search Engine Optimization (Seo) for Developers
Search Engine Optimization (Seo) for DevelopersSearch Engine Optimization (Seo) for Developers
Search Engine Optimization (Seo) for DevelopersMatthew Robinson
 
Minimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsMinimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsCgColors
 
Seo Onpage Optimization Training
Seo Onpage Optimization TrainingSeo Onpage Optimization Training
Seo Onpage Optimization TrainingSEOBANK
 
Demand Quest SEO Training - Session 2
Demand Quest SEO Training - Session 2Demand Quest SEO Training - Session 2
Demand Quest SEO Training - Session 2Nate Plaunt
 
The Business Case for Speed
The Business Case for SpeedThe Business Case for Speed
The Business Case for SpeedSiriusWay
 
Optimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get thereOptimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get thereStephen Bell
 
Mobile SEO (English Version)
Mobile SEO (English Version)Mobile SEO (English Version)
Mobile SEO (English Version)ssuserd60633
 

Similar a Designing Faster Websites to Improve Performance and Increase Revenue (20)

Cvcc performance tuning
Cvcc performance tuningCvcc performance tuning
Cvcc performance tuning
 
10 Things You Can Do to Speed Up Your Web App Today
10 Things You Can Do to Speed Up Your Web App Today10 Things You Can Do to Speed Up Your Web App Today
10 Things You Can Do to Speed Up Your Web App Today
 
10 things you can do to speed up your web app today stir trek edition
10 things you can do to speed up your web app today   stir trek edition10 things you can do to speed up your web app today   stir trek edition
10 things you can do to speed up your web app today stir trek edition
 
Getting started with dev tools (4/10/17 DC)
Getting started with dev tools (4/10/17 DC)Getting started with dev tools (4/10/17 DC)
Getting started with dev tools (4/10/17 DC)
 
Demand Quest SEO training session 2
Demand Quest SEO training session 2Demand Quest SEO training session 2
Demand Quest SEO training session 2
 
SEO and search plugins
SEO and search pluginsSEO and search plugins
SEO and search plugins
 
Page Performance: A No-Holds Barred, Holistic Look
Page Performance: A No-Holds Barred, Holistic LookPage Performance: A No-Holds Barred, Holistic Look
Page Performance: A No-Holds Barred, Holistic Look
 
EscConf - Deep Dive Frontend Optimization
EscConf - Deep Dive Frontend OptimizationEscConf - Deep Dive Frontend Optimization
EscConf - Deep Dive Frontend Optimization
 
Search Engine Optimization and Analytics for CSEPP Advanced Training Course
Search Engine Optimization and Analytics for CSEPP Advanced Training CourseSearch Engine Optimization and Analytics for CSEPP Advanced Training Course
Search Engine Optimization and Analytics for CSEPP Advanced Training Course
 
Search Engine Optimisation Basics
Search Engine Optimisation BasicsSearch Engine Optimisation Basics
Search Engine Optimisation Basics
 
Page Performance
Page PerformancePage Performance
Page Performance
 
Search Engine Optimization (Seo) for Developers
Search Engine Optimization (Seo) for DevelopersSearch Engine Optimization (Seo) for Developers
Search Engine Optimization (Seo) for Developers
 
Minimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsMinimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tips
 
Seo Onpage Optimization Guide
Seo Onpage Optimization Guide Seo Onpage Optimization Guide
Seo Onpage Optimization Guide
 
Seo Onpage Optimization Training
Seo Onpage Optimization TrainingSeo Onpage Optimization Training
Seo Onpage Optimization Training
 
Demand Quest SEO Training - Session 2
Demand Quest SEO Training - Session 2Demand Quest SEO Training - Session 2
Demand Quest SEO Training - Session 2
 
The Business Case for Speed
The Business Case for SpeedThe Business Case for Speed
The Business Case for Speed
 
Optimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get thereOptimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get there
 
Mobile web performance dwx13
Mobile web performance dwx13Mobile web performance dwx13
Mobile web performance dwx13
 
Mobile SEO (English Version)
Mobile SEO (English Version)Mobile SEO (English Version)
Mobile SEO (English Version)
 

Más de Jonathan Klein

DIY Synthetic: Private WebPagetest Magic
DIY Synthetic: Private WebPagetest MagicDIY Synthetic: Private WebPagetest Magic
DIY Synthetic: Private WebPagetest MagicJonathan Klein
 
UXFest - RUM Distillation 101
UXFest - RUM Distillation 101UXFest - RUM Distillation 101
UXFest - RUM Distillation 101Jonathan Klein
 
Edge Conf Rendering Performance Panel
Edge Conf Rendering Performance PanelEdge Conf Rendering Performance Panel
Edge Conf Rendering Performance PanelJonathan Klein
 
Scaling PHP to 40 Million Uniques
Scaling PHP to 40 Million UniquesScaling PHP to 40 Million Uniques
Scaling PHP to 40 Million UniquesJonathan Klein
 
JSDay 2013 - Practical Responsive Web Design
JSDay 2013 - Practical Responsive Web DesignJSDay 2013 - Practical Responsive Web Design
JSDay 2013 - Practical Responsive Web DesignJonathan Klein
 
PHPDay 2013 - High Performance PHP
PHPDay 2013 - High Performance PHPPHPDay 2013 - High Performance PHP
PHPDay 2013 - High Performance PHPJonathan Klein
 
Northeast PHP - High Performance PHP
Northeast PHP - High Performance PHPNortheast PHP - High Performance PHP
Northeast PHP - High Performance PHPJonathan Klein
 
BTV PHP - Building Fast Websites
BTV PHP - Building Fast WebsitesBTV PHP - Building Fast Websites
BTV PHP - Building Fast WebsitesJonathan Klein
 
Web Performance, Scalability, and Testing Techniques - Boston PHP Meetup
Web Performance, Scalability, and Testing Techniques - Boston PHP MeetupWeb Performance, Scalability, and Testing Techniques - Boston PHP Meetup
Web Performance, Scalability, and Testing Techniques - Boston PHP MeetupJonathan Klein
 
Web performance introduction boston web performance meetup
Web performance introduction   boston web performance meetupWeb performance introduction   boston web performance meetup
Web performance introduction boston web performance meetupJonathan Klein
 

Más de Jonathan Klein (10)

DIY Synthetic: Private WebPagetest Magic
DIY Synthetic: Private WebPagetest MagicDIY Synthetic: Private WebPagetest Magic
DIY Synthetic: Private WebPagetest Magic
 
UXFest - RUM Distillation 101
UXFest - RUM Distillation 101UXFest - RUM Distillation 101
UXFest - RUM Distillation 101
 
Edge Conf Rendering Performance Panel
Edge Conf Rendering Performance PanelEdge Conf Rendering Performance Panel
Edge Conf Rendering Performance Panel
 
Scaling PHP to 40 Million Uniques
Scaling PHP to 40 Million UniquesScaling PHP to 40 Million Uniques
Scaling PHP to 40 Million Uniques
 
JSDay 2013 - Practical Responsive Web Design
JSDay 2013 - Practical Responsive Web DesignJSDay 2013 - Practical Responsive Web Design
JSDay 2013 - Practical Responsive Web Design
 
PHPDay 2013 - High Performance PHP
PHPDay 2013 - High Performance PHPPHPDay 2013 - High Performance PHP
PHPDay 2013 - High Performance PHP
 
Northeast PHP - High Performance PHP
Northeast PHP - High Performance PHPNortheast PHP - High Performance PHP
Northeast PHP - High Performance PHP
 
BTV PHP - Building Fast Websites
BTV PHP - Building Fast WebsitesBTV PHP - Building Fast Websites
BTV PHP - Building Fast Websites
 
Web Performance, Scalability, and Testing Techniques - Boston PHP Meetup
Web Performance, Scalability, and Testing Techniques - Boston PHP MeetupWeb Performance, Scalability, and Testing Techniques - Boston PHP Meetup
Web Performance, Scalability, and Testing Techniques - Boston PHP Meetup
 
Web performance introduction boston web performance meetup
Web performance introduction   boston web performance meetupWeb performance introduction   boston web performance meetup
Web performance introduction boston web performance meetup
 

Último

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
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
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Último (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Designing Faster Websites to Improve Performance and Increase Revenue

  • 1. Designing Faster Websites Design Camp Boston 2010 Jonathan Klein / jklein@csnstores.com @jonathanklein
  • 2. What We Will Discuss • Why do we want faster sites? • What does “Load Time” mean? • Tools for Measuring Performance • Performance Best Practices • Design Techniques to Improve Performance • Specific “Take Home” Optimizations • How Fast is Fast Enough?
  • 3. Why Do We Want Faster Sites? A Faster Website Will Make Your Users Happy
  • 4.
  • 5. Google Injected a 400ms delay 0.44% fewer searches per user 0.76% after six weeks After the delay was removed, 0.21% fewer searches
  • 6. Amazon 100ms delay resulted in a 1% drop in revenue
  • 7. Microsoft 1 second delay on bing.com/live.com 2.8% drop in revenue per user 2 second delay  4.3% drop
  • 8.
  • 9. Shopzilla Complete site redesign Reduced load time by 5 seconds 7-12% increase in revenue 50% reduction in hardware use http://en.oreilly.com/velocity2009/public/schedule/detail/7709
  • 10. The Value of Performance • Many, many more examples – http://www.phpied.com/the-performance-business-pitch/ • A faster site will increase conversion and reduce bounce rate/exit rate • It will reduce hardware costs • It will improve SEO – http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search- ranking.html
  • 11. In other words… A faster website will make you more money
  • 12. What does Load Time Mean? • Two Main Pieces – Server side generation time (cook time, crunch time, bake time, etc.) – Client side render time • 80-90% of load time takes place on the client – This is where we want to focus our efforts (in most cases) – Optimize something that’s 2% of load time….
  • 13. Tools for Measuring Performance • WebPagetest (www.webpagetest.org) • Firebug • YSlow • PageSpeed • DynaTrace Ajax Edition • Google Webmaster Tools • Yottaa.com
  • 14.
  • 15. Performance Best Practices Steve Souders – “High Performance Websites” 14 Rules
  • 16. Rule #1 Make Fewer HTTP Requests
  • 17.
  • 18.
  • 20. More Rules • Order style sheets and scripts appropriately – Rule #5: Put stylesheets at the top – Rule #6: Put scripts at the bottom
  • 21. Combine CSS/JS and Make External • Rule #8 – Make JavaScript and CSS external – Browser caches it – You can easily minify/gzip the content • Ideally only 1 CSS file and 1 JS file per page
  • 22. What About Design? Be Economical Build a Widget Library and Reuse
  • 23. Reduce, Reuse, Recycle You Don’t Want This:
  • 24. Consistency “If two design elements are too similar to be included on the same page, they are too similar to be included on the same site” - Nicole Sullivan
  • 25. Optimize Images And Sprites • For graphics use PNG8 (256 color limitation) • JPEGS can typically be saved at 75% quality – Some people say 50%
  • 26. Pick the Correct File Type 51 KB 1.88 KB
  • 27. Smush Your Images – smushit.com
  • 28. 5 Image Optimizations 1. Limit the overall number of colors and combine similar ones 2. Avoid whitespace 3. Reduce anti-aliased pixels 4. Avoid diagonal gradients 5. Change gradient color every 2-3 pixels http://video.yahoo.com/watch/4156174/11192533
  • 29. Use a CSS Grids System (YUI) • Easily build complex page layouts • Flexible, reusable, works in all browsers • Save time, bytes http://developer.yahoo.com/yui/grids/
  • 30. Use Data URIs/MHTML When Possible • Eliminates HTTP requests • Encode image data directly in your CSS background:url(data:image/png;base64,<data>); • http://www.nczonline.net/blog/2010/07/06/data-uris- make-css-sprites-obsolete/
  • 31. JavaScript • “Render First, JS Second” – Steve Souders • Avoid using blocking JavaScript when possible • Use a library (YUI, JQuery)
  • 32. Three Buckets for Frontend Performance 1. Reduce the number of requests the browser has to make 2. Reduce overall page weight (KB on the wire) 3. Make the browser do less work (executing code, applying CSS, painting, etc.).
  • 33. How Fast is Fast Enough? • Do market research, compare your site with competitors • Make sure you are the fastest, then get faster • Painting the Golden Gate Bridge
  • 34. Let’s Talk About Google Obsessed with Improving Performance
  • 35. Got HTTP Requests? “A small image costs $1.00, a large image costs $1.01” -Marissa Mayer (Google)
  • 36. So What Would They Say? “We want you to be able to flick from one page to another as quickly as you can flick a page on a book. So we’re really aiming very, very high here...at something like 100 milliseconds.” - Urs Hölzle, Senior VP Operations, Google
  • 37. So What Would They Say? “We want you to be able to flick from one page to another as quickly as you can flick a page on a book. So we’re really aiming very, very high here...at something like 100 milliseconds.” - Urs Hölzle, Senior VP Operations, Google
  • 38. Putting Their Money Where Their Mouth Is • Google Chrome • Google DNS • Google Instant • PageSpeed Addon • mod_pagespeed • WebP • The list goes on…
  • 39. Conclusion “Speed is the most important feature. If your application is slow, people won’t use it. I see this more with mainstream users than I do with power users...If something is slow, they’re just gone.” - Fred Wilson (10 Golden Principles of Web Apps)
  • 40. Conclusion “Speed is the most important feature. If your application is slow, people won’t use it. I see this more with mainstream users than I do with power users...If something is slow, they’re just gone.” - Fred Wilson (10 Golden Principles of Web Apps)