SlideShare a Scribd company logo
1 of 64
Design, optimized: a UX guide
Improve Performance for User Satisfaction, Profit and Sustainability
photo by likeaduck http://www.flickr.com/photos/thartz00/sets/72157624465684865/
Tuesday, July 2, 13
Me: James Christie @jc_ux
Portsmouth | Boston | Louisville
www.madpow.com
Twitter: @madpow
Web developer > usability > UX Designer
UX Honeycomb: http://semanticstudios.com/publications/semantics/000029.php
Tuesday, July 2, 13
The Web Is Slow
http://www.flickr.com/photos/nuskyn/
Tuesday, July 2, 13
Is the web slow?Yup.
• Users expect <2s page load
• Web performance is second
only to security in user
expectations (Forrester)
2011 5.94s
2012 7.25s
2013 ~9s
http://seekingalpha.com/article/1120151-reviewing-the-mobile-revenue-of-major-internet-companies
http://gravitydept.com/blog/responsive-ecommerce/
Alexa Retail 2000 index of
median load time
Tuesday, July 2, 13
1. User Perception
http://www.websiteoptimization.com/speed/tweak/psychology-web-performance/
<0.1 sec Instant
1 sec Flow
4-5 sec Impatience
8-10 Sec Intolerable
Load time Perception
Slow: “Not credible”
Fast: less frustration, lower
blood pressure, deeper flow
states, higher conversion
rates, lower bailout rates, site
interestingness and
attractiveness
Fogg, B. J., et al., "What Makes Web Sites Credible? A Report on a Large Quantitative Study"
Tuesday, July 2, 13
2. KPIs: slow bad, fast good
• Bing: 2s load delay = 4.3% less revenue/user
• Google: 400ms delay = 0.59% fewer searches
• Yahoo! 400ms slowdown = 5 to 9% less traffic
http://velocityconf.com/velocity2009/public/schedule/detail/8523
• Shopzilla: 5s faster = +12% conversions
• Mozilla: 2.2s faster = +15.4% conversions
(60 million more Firefox downloads)
Tuesday, July 2, 13
3. Mobile
• 55% use mobile internet regularly
• “Mobile Mostly”: 31%
• 71% mobile users encounter slow speeds
• 3G, 4G and EDGE
• Cost of data: ~$10 for 100MB
• Rule of thumb: pages at least x2 slower than
desktop
http://pewinternet.org/Commentary/2012/February/Pew-Internet-Mobile.aspx
Tuesday, July 2, 13
4. Inclusion
• People on mobile-only internet are more
likely to be...
• Young (18-25)
• Earn less than $30k
• People in overseas markets with poor
internet infrastructure
Tuesday, July 2, 13
“...entire populations of people simply could not use
YouTube because it took too long to see anything”
“By keeping your client side code small and lightweight,
you can literally open your product up to new
markets”
Regular page: 1.2MB
Feather: 250kB
http://blog.chriszacharias.com/page-weight-matters
Tuesday, July 2, 13
5. SEO
http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search-ranking.html
• Impact:
• Some claiming 20-40% improvement in
rankings after optimizing
http://www.strangeloopnetworks.com/blog/13-questions-and-answers-about-google-site-speed-and-seo/
Tuesday, July 2, 13
6. Sustainability
• Serving web pages takes energy
• Internet carbon footprint today: 620 Million Tons /
year. x2 in 2020
http://keelingcurve.ucsd.edu/ http://goo.gl/nK0h1http://www.greentouch.org/
0
500
1000
1500
2000
web ‘13 Aviation web ‘20 Russia
CO2 Million tons / yr
http://en.wikipedia.org/wiki/List_of_countries_by_carbon_dioxide_emissions http://www.atag.org/facts-and-figures.html
Tuesday, July 2, 13
What’s slowing us down?
(and what can we do?)
Tuesday, July 2, 13
Frontend / Backend
• “80-90% of the end-user response time is spent
on the frontend. Start there.” Steve Souders
stevesouders.com/blog/2012/02/10/the-performance-golden-rule/
0 25 50 75 100
backend frontend
Page load delay average across top 50,000 websites
Delay here
Tuesday, July 2, 13
Size of pages
http://www.websiteoptimization.com/speed/tweak/average-web-page/
Tuesday, July 2, 13
Current page size
•1446kB!
• That’s a floppy
• >2 minutes on 56.6 kbps
modem
• 10s on 1mbps cable
• USA Average: 7.4mbps
• (5% still on dial-up) http://httparchive.org/interesting.php
http://www.techspot.com/news/52338-average-broadband-speed-in-the-us-up-28-south-korea-still-far-ahead.html
http://www.pewinternet.org/Reports/2010/Home-Broadband-2010.aspx
Tuesday, July 2, 13
Frontend bulk
0
375
750
1125
1500
Page weight in KB
HTML CSS
JS Images
Fonts Other Figures: http://httparchive.org/trends.php
Most optimization talks
are about the JavaScript
Tuesday, July 2, 13
Frontend bulk
0
375
750
1125
1500
Page weight in KB
Figures: http://httparchive.org/trends.php
My tips are about the
images, fonts and “other
stuff” too.
Tuesday, July 2, 13
More friction: object count
Anatomy of an HTTP request
Tuesday, July 2, 13
Do-it-yourself
benchmarking
• Plenty of online services and tools
• ySlow, Google PageSpeed
• Most browsers have their own inspector
• We’ll use Google Chrome
Tuesday, July 2, 13
Google PageSpeed
Tuesday, July 2, 13
Tuesday, July 2, 13
2.3MB
556 HTTP requests
11 seconds to load
8843 pixels high
Tuesday, July 2, 13
The whole page
Example inspired by Brad Frost’s “Death to BS”
https://www.youtube.com/watch?v=ABd6U17YAdo
Tuesday, July 2, 13
Just the content
(in blue)
Example inspired by Brad Frost’s “Death to BS”
https://www.youtube.com/watch?v=ABd6U17YAdo
Tuesday, July 2, 13
Ads
Navigation
Social sharing
Comments
Ads
x-site content
More Ads
....
Example inspired by Brad Frost’s “Death to BS”
https://www.youtube.com/watch?v=ABd6U17YAdo
Tuesday, July 2, 13
Example inspired by Brad Frost’s “Death to BS”
https://www.youtube.com/watch?v=ABd6U17YAdo
0
750
1500
2250
3000
Page weight in KB
HTML CSS
JS Images
Fonts Other
Images: 1MB
Scripts: 1MB
Article: 41kB
Tuesday, July 2, 13
Speed things up
• Speed up pages by...
• having fewer objects
• less data transfer
• lots of technical tweaks
• Time to reconsider:
• UX design
• Visual design
• Code planning
Tuesday, July 2, 13
Dan Saffer’s Disciplines of UX:
http://www.kickerstudio.com/2008/12/the-disciplines-of-user-experience/
UX design
Tuesday, July 2, 13
Prime offender: carousels
Tuesday, July 2, 13
http://www.wm.edu/
Tuesday, July 2, 13
Reduced carousels
• Vectorize
• Load on demand
• Optimize
http://www.unitedutilities.com/default.aspx645px wide, only 60kB
http://www.starbucks.com/
Tuesday, July 2, 13
Ditch them altogether
http://www.nngroup.com/articles/auto-forwarding/
Tuesday, July 2, 13
Brad Frost carousel challenge
http://bradfrostweb.com/blog/post/carousels/
•Add tracking to your carousel
•Collect data
•Analysis (and publish)
•A/B test
University ofYork: removed panels, increased
engagement
http://yorkwebteam.blogspot.co.uk/2013/03/are-homepage-carousels-effective-aka.html
Tuesday, July 2, 13
Ads
• Less ads would be nice...
• Better to have a few big ads than
lots of little ones
• “In marketing we measure
impressions - not page speed.We
don’t take the harm of the slow-down
into account”
Tuesday, July 2, 13
Share Buttons
Typical payload:
400kB in images &
scripts
http://jcux.co.uk/cleanux/buttons.html
Tuesday, July 2, 13
Share button script overhead
Tuesday, July 2, 13
Button cure: kill, link, or lazyload
“ What we know for sure is that these magic buttons promote
their own brands — and that they tend to make you look a
little desperate.”
Sweep the Sleaze, Oliver Reichenstein, ia.net
http://ia.net/blog/sweep-the-sleaze/ http://alistapart.com/article/designing-for-breakpoints
Pure links:
Kill:
Lazy Load:
http://wp.tutsplus.com/tutorials/add-lazy-loading-social-sharing-buttons-to-your-wordpress-blog/
Tuesday, July 2, 13
3rd party content
http://velocityconf.com/velocity2010/public/schedule/detail/15412
• “Don’t let 3rd parties get you down” - Google, at
Velocity 2010
• Found an ~15% latency impact
• (Sleazy impact: 1,000%)
Tuesday, July 2, 13
The savings don’t stop
• Maps: 400kB in images and
scripts
• Autoplay videos: many MB
instantly
• Animation JS: if poorly managed
Tuesday, July 2, 13
Visual Design Savings
Flickr mattdoucette http://bit.ly/14uFtEq
Tuesday, July 2, 13
Image triage
• Simply, have fewer images.
• Optimize more
• Smush.it (free)
• jpg or png?
0
375
750
1125
1500
Page weight in KB
Tuesday, July 2, 13
Rethink photos
http://www.alistapart.com/articles/the-web-aesthetic
@garrettc’s cat
Tuesday, July 2, 13
Responsive Images
We’re missing out on 72%
image savings for mobile.
Go read: http://timkadlec.com/2013/06/why-we-need-
responsive-images/
Tuesday, July 2, 13
Image replacement: Icon Fonts
http://www.heydonworks.com/article/using-icon-web-fonts http://glyphicons.com/
• Replace your icon gifs with
one font file.
• Free, paid, and roll-your-own
options
Tuesday, July 2, 13
Future: pure CSS icons
http://nicolasgallagher.com/pure-css-gui-icons/demo/
Tuesday, July 2, 13
Image organization: Icon Sprites
• Combine lots of small icons into one file
• Big saving on HTTP requests
• Free services like http://spriteme.org/
Tuesday, July 2, 13
Vectors
• SVG now production-ready
(mostly)
• Files scale to any size
• This guy is 20kB
Tuesday, July 2, 13
Tame web fonts
✤20 to 100kB
✤Lots of HTTP requests
Tuesday, July 2, 13
Code Savings
Tuesday, July 2, 13
Code savings
• Too many to mention here:
• Minifiy Scripts.
• Compress downloads.
• Set Expire headers in .htaccess.
• Use .gzip compression.
• Server side concatenation of scripts.
• Fix the script load order (put JS at the bottom).
• Use asynchronous JS loading.
• Use DNS pre-fetch.
• Use cookie-less domains for static assets.
• Use two domains for static assets (take advantage of parallel download).
• Use conditional loading - only load scripts/images when needed.
Tuesday, July 2, 13
CDN
http://www.wpbeginner.com/beginners-guide/why-you-need-a-cdn-for-your-wordpress-blog-infographic/?display=wide
Tuesday, July 2, 13
Site planning
http://www.jjg.net/elements/
Tuesday, July 2, 13
Page budgets
• Set a budget in kB that suits needs of audience
• (More mobile? Smaller pages.)
• Trade features and content against the budget
http://clearleft.com/thinks/responsivedesignonabudget/
Tuesday, July 2, 13
Site budgets
• Extend the idea to a whole site
• How much data, and how much time loading
the site, for each user?
• Manage the delays
Tuesday, July 2, 13
Wireframes
Tuesday, July 2, 13
• 790kB in image
saving
• 100kB in script
• 400kB in Share
Buttons
Tuesday, July 2, 13
Warm fuzzies
Metric Before After Saving
All users/
year
Home
Loading
time/visit
4s 2s 2s 555 hours
Total visit
loading time
30s 16s 14s 162 days
Data/visit 10MB 3MB 7MB 6,873 GB
Tuesday, July 2, 13
Cold Hard ROI*
Metric Before After Difference
Conversion 5% 10% +5%
Time-on site 1:13 1:55 +42s
Bounce-rate 20% 15% -5%
Mobile bounce 50% 20% -30%
Hosting cost $50,000 $40,000 -$10,000
ecomm revenue $100k $300k +$200k
*complete fabrication
Tuesday, July 2, 13
Inspirational examples
• Zappos: 1.2MB, 985ms
• Mailchimp.com: 876kB, 2 seconds
• 2013.dconstruct.org: 142kB, 925ms
• “How low can you go?” approach
• “This is a web page”: 13kB, 377ms
http://justinjackson.ca/words.html
Tuesday, July 2, 13
“Things should be as simple as possible,
but no simpler.”
Tuesday, July 2, 13
Summary
• Images and scripts are where the main savings
can be made
• Think in terms of data footprint and object
count
• Set a budget per page or per user visit
• Work with clients and users to find what
content can be reduced or retired
• Challenge orthodoxy! (cough carousels cough)
Tuesday, July 2, 13
Questions?
Comments?
Tuesday, July 2, 13
Thank you!
• Thank you for your time!
• I love feedback:
• Twitter: @jc_ux
• Email: jchristie@madpow.com
• Big thanks to Mad*Pow for hosting!
Tuesday, July 2, 13
Follow @madpow for more events and insights
Tuesday, July 2, 13

More Related Content

What's hot

Introduction to UX Research: Fundamentals of Contextual Inquiry
Introduction to UX Research: Fundamentals of Contextual InquiryIntroduction to UX Research: Fundamentals of Contextual Inquiry
Introduction to UX Research: Fundamentals of Contextual InquiryMarc Niola
 
UX STRAT 2014: Peter Merholz, "Shaping Organizations to Deliver Great User Ex...
UX STRAT 2014: Peter Merholz, "Shaping Organizations to Deliver Great User Ex...UX STRAT 2014: Peter Merholz, "Shaping Organizations to Deliver Great User Ex...
UX STRAT 2014: Peter Merholz, "Shaping Organizations to Deliver Great User Ex...UX STRAT
 
Design Systems For Enterprise
Design Systems For EnterpriseDesign Systems For Enterprise
Design Systems For EnterpriseLaura Van Doore
 
UX Patterns & Design Systems
UX Patterns & Design SystemsUX Patterns & Design Systems
UX Patterns & Design SystemsRoshan Ravi
 
Projetando com Lean UX
Projetando com Lean UXProjetando com Lean UX
Projetando com Lean UXEdu Agni
 
Raster vs Vector
Raster vs VectorRaster vs Vector
Raster vs Vectorakn4fotos
 
Simplificando o design digital
Simplificando o design digitalSimplificando o design digital
Simplificando o design digitalMarconi Pacheco
 
Building a Mature Design System
Building a Mature Design SystemBuilding a Mature Design System
Building a Mature Design SystemDrew Burdick
 
Animação 2 - Ciclo de Caminhada
Animação 2 - Ciclo de CaminhadaAnimação 2 - Ciclo de Caminhada
Animação 2 - Ciclo de Caminhadaprofealbattaiola
 
Design Systems: Parts, Products & People
Design Systems: Parts, Products & PeopleDesign Systems: Parts, Products & People
Design Systems: Parts, Products & Peoplenathanacurtis
 
Wissenschaftliche Arbeit über Proteinshakes und- pulver: Die wichtigsten Info...
Wissenschaftliche Arbeit über Proteinshakes und- pulver: Die wichtigsten Info...Wissenschaftliche Arbeit über Proteinshakes und- pulver: Die wichtigsten Info...
Wissenschaftliche Arbeit über Proteinshakes und- pulver: Die wichtigsten Info...MeiroHelyx
 
Creating and maintaining a design system for 130 teams - Bethany Sonefeld
Creating and maintaining a design system for 130 teams - Bethany SonefeldCreating and maintaining a design system for 130 teams - Bethany Sonefeld
Creating and maintaining a design system for 130 teams - Bethany Sonefelduxpin
 
How to build a design system
How to build a design systemHow to build a design system
How to build a design systemFaizur Rehman
 
User Testing for Accessibility
User Testing for AccessibilityUser Testing for Accessibility
User Testing for AccessibilityUsability Matters
 
Design System - Fail, Learn, Build, Test
Design System - Fail, Learn, Build, TestDesign System - Fail, Learn, Build, Test
Design System - Fail, Learn, Build, TestPaya Do
 

What's hot (20)

Introduction to UX Research: Fundamentals of Contextual Inquiry
Introduction to UX Research: Fundamentals of Contextual InquiryIntroduction to UX Research: Fundamentals of Contextual Inquiry
Introduction to UX Research: Fundamentals of Contextual Inquiry
 
UX STRAT 2014: Peter Merholz, "Shaping Organizations to Deliver Great User Ex...
UX STRAT 2014: Peter Merholz, "Shaping Organizations to Deliver Great User Ex...UX STRAT 2014: Peter Merholz, "Shaping Organizations to Deliver Great User Ex...
UX STRAT 2014: Peter Merholz, "Shaping Organizations to Deliver Great User Ex...
 
Design Systems For Enterprise
Design Systems For EnterpriseDesign Systems For Enterprise
Design Systems For Enterprise
 
UX Patterns & Design Systems
UX Patterns & Design SystemsUX Patterns & Design Systems
UX Patterns & Design Systems
 
User Research
User ResearchUser Research
User Research
 
Projetando com Lean UX
Projetando com Lean UXProjetando com Lean UX
Projetando com Lean UX
 
Raster vs Vector
Raster vs VectorRaster vs Vector
Raster vs Vector
 
Ux, Experiencia de Usuario
Ux, Experiencia de UsuarioUx, Experiencia de Usuario
Ux, Experiencia de Usuario
 
Simplificando o design digital
Simplificando o design digitalSimplificando o design digital
Simplificando o design digital
 
Building a Mature Design System
Building a Mature Design SystemBuilding a Mature Design System
Building a Mature Design System
 
Animação 2 - Ciclo de Caminhada
Animação 2 - Ciclo de CaminhadaAnimação 2 - Ciclo de Caminhada
Animação 2 - Ciclo de Caminhada
 
Design Systems: Parts, Products & People
Design Systems: Parts, Products & PeopleDesign Systems: Parts, Products & People
Design Systems: Parts, Products & People
 
Wissenschaftliche Arbeit über Proteinshakes und- pulver: Die wichtigsten Info...
Wissenschaftliche Arbeit über Proteinshakes und- pulver: Die wichtigsten Info...Wissenschaftliche Arbeit über Proteinshakes und- pulver: Die wichtigsten Info...
Wissenschaftliche Arbeit über Proteinshakes und- pulver: Die wichtigsten Info...
 
Creating and maintaining a design system for 130 teams - Bethany Sonefeld
Creating and maintaining a design system for 130 teams - Bethany SonefeldCreating and maintaining a design system for 130 teams - Bethany Sonefeld
Creating and maintaining a design system for 130 teams - Bethany Sonefeld
 
UX/UI Introduction
UX/UI IntroductionUX/UI Introduction
UX/UI Introduction
 
How to build a design system
How to build a design systemHow to build a design system
How to build a design system
 
User Testing for Accessibility
User Testing for AccessibilityUser Testing for Accessibility
User Testing for Accessibility
 
Design System - Fail, Learn, Build, Test
Design System - Fail, Learn, Build, TestDesign System - Fail, Learn, Build, Test
Design System - Fail, Learn, Build, Test
 
Groupware
GroupwareGroupware
Groupware
 
Canva
CanvaCanva
Canva
 

Viewers also liked

The Quest for the Ultimate UX Portfolio
The Quest for the Ultimate UX PortfolioThe Quest for the Ultimate UX Portfolio
The Quest for the Ultimate UX PortfolioPradeep Nayar
 
Kazumi Terada UX Portfolio 2016
Kazumi Terada UX Portfolio 2016Kazumi Terada UX Portfolio 2016
Kazumi Terada UX Portfolio 2016Kazumi Terada
 
Jay Ramirez – UX Designer Portfolio
Jay Ramirez – UX Designer PortfolioJay Ramirez – UX Designer Portfolio
Jay Ramirez – UX Designer PortfolioJay R
 
Creating Professional Portfolios - Top 10 UX Portfolio Questions and Story Ex...
Creating Professional Portfolios - Top 10 UX Portfolio Questions and Story Ex...Creating Professional Portfolios - Top 10 UX Portfolio Questions and Story Ex...
Creating Professional Portfolios - Top 10 UX Portfolio Questions and Story Ex...uxhow
 
Bryan Daniel UX Portfolio
Bryan Daniel UX PortfolioBryan Daniel UX Portfolio
Bryan Daniel UX PortfolioBryandan6
 
64 UX Design Interview Questions at Google, Facebook, Amazon, Microsoft, Sale...
64 UX Design Interview Questions at Google, Facebook, Amazon, Microsoft, Sale...64 UX Design Interview Questions at Google, Facebook, Amazon, Microsoft, Sale...
64 UX Design Interview Questions at Google, Facebook, Amazon, Microsoft, Sale...BayUX
 
14 Ways to an Impressive UX Design Portfolio
14 Ways to an Impressive UX Design Portfolio14 Ways to an Impressive UX Design Portfolio
14 Ways to an Impressive UX Design PortfolioBayUX
 
Quick guide to UX and web copy
Quick guide to UX and web copyQuick guide to UX and web copy
Quick guide to UX and web copyIryna Nezhynska
 
Making stright and crossover cables and crimping
Making stright and crossover cables and crimpingMaking stright and crossover cables and crimping
Making stright and crossover cables and crimpingRavi Kumar Lanke
 
Time Is Money By Wearecloudberry Com
Time Is Money By Wearecloudberry ComTime Is Money By Wearecloudberry Com
Time Is Money By Wearecloudberry Comandy collyer
 
Nuts and Bolts of Forming For-Profit and Nonprofit Entities in Virginia
Nuts and Bolts of Forming For-Profit and Nonprofit Entities in VirginiaNuts and Bolts of Forming For-Profit and Nonprofit Entities in Virginia
Nuts and Bolts of Forming For-Profit and Nonprofit Entities in VirginiaPerkins Law, PLLC
 
Ncip Information
Ncip InformationNcip Information
Ncip InformationSue Bennett
 
Интернет для индустрии красоты
Интернет для индустрии красотыИнтернет для индустрии красоты
Интернет для индустрии красотыFert
 
Corporate Brochure Dynamis 2012
Corporate Brochure Dynamis 2012Corporate Brochure Dynamis 2012
Corporate Brochure Dynamis 2012Dynamis
 

Viewers also liked (20)

The Quest for the Ultimate UX Portfolio
The Quest for the Ultimate UX PortfolioThe Quest for the Ultimate UX Portfolio
The Quest for the Ultimate UX Portfolio
 
Building a UX Portfolio
Building a UX PortfolioBuilding a UX Portfolio
Building a UX Portfolio
 
Kazumi Terada UX Portfolio 2016
Kazumi Terada UX Portfolio 2016Kazumi Terada UX Portfolio 2016
Kazumi Terada UX Portfolio 2016
 
Jay Ramirez – UX Designer Portfolio
Jay Ramirez – UX Designer PortfolioJay Ramirez – UX Designer Portfolio
Jay Ramirez – UX Designer Portfolio
 
Creating Professional Portfolios - Top 10 UX Portfolio Questions and Story Ex...
Creating Professional Portfolios - Top 10 UX Portfolio Questions and Story Ex...Creating Professional Portfolios - Top 10 UX Portfolio Questions and Story Ex...
Creating Professional Portfolios - Top 10 UX Portfolio Questions and Story Ex...
 
Bryan Daniel UX Portfolio
Bryan Daniel UX PortfolioBryan Daniel UX Portfolio
Bryan Daniel UX Portfolio
 
64 UX Design Interview Questions at Google, Facebook, Amazon, Microsoft, Sale...
64 UX Design Interview Questions at Google, Facebook, Amazon, Microsoft, Sale...64 UX Design Interview Questions at Google, Facebook, Amazon, Microsoft, Sale...
64 UX Design Interview Questions at Google, Facebook, Amazon, Microsoft, Sale...
 
14 Ways to an Impressive UX Design Portfolio
14 Ways to an Impressive UX Design Portfolio14 Ways to an Impressive UX Design Portfolio
14 Ways to an Impressive UX Design Portfolio
 
Quick guide to UX and web copy
Quick guide to UX and web copyQuick guide to UX and web copy
Quick guide to UX and web copy
 
Greening of and greening by IT
Greening of and greening by ITGreening of and greening by IT
Greening of and greening by IT
 
Making stright and crossover cables and crimping
Making stright and crossover cables and crimpingMaking stright and crossover cables and crimping
Making stright and crossover cables and crimping
 
Time Is Money By Wearecloudberry Com
Time Is Money By Wearecloudberry ComTime Is Money By Wearecloudberry Com
Time Is Money By Wearecloudberry Com
 
Leegstand en herbestemming - SBR
Leegstand en herbestemming - SBRLeegstand en herbestemming - SBR
Leegstand en herbestemming - SBR
 
Nuts and Bolts of Forming For-Profit and Nonprofit Entities in Virginia
Nuts and Bolts of Forming For-Profit and Nonprofit Entities in VirginiaNuts and Bolts of Forming For-Profit and Nonprofit Entities in Virginia
Nuts and Bolts of Forming For-Profit and Nonprofit Entities in Virginia
 
Endocrine System
Endocrine  SystemEndocrine  System
Endocrine System
 
Track & Field
Track & FieldTrack & Field
Track & Field
 
Ncip Information
Ncip InformationNcip Information
Ncip Information
 
Changhong
ChanghongChanghong
Changhong
 
Интернет для индустрии красоты
Интернет для индустрии красотыИнтернет для индустрии красоты
Интернет для индустрии красоты
 
Corporate Brochure Dynamis 2012
Corporate Brochure Dynamis 2012Corporate Brochure Dynamis 2012
Corporate Brochure Dynamis 2012
 

Similar to Optimizing design: a UX practitioners guide

Making the Switch, Part 1: Top 5 Things to Consider When Evaluating Drupal
Making the Switch, Part 1: Top 5 Things to Consider When Evaluating DrupalMaking the Switch, Part 1: Top 5 Things to Consider When Evaluating Drupal
Making the Switch, Part 1: Top 5 Things to Consider When Evaluating DrupalAcquia
 
Edi ux fastandbeautiful
Edi ux fastandbeautifulEdi ux fastandbeautiful
Edi ux fastandbeautifulDoug Sillars
 
Faster Frontends
Faster FrontendsFaster Frontends
Faster FrontendsAndy Davies
 
Fast and Beautiful Images: PyConWeb
Fast and Beautiful Images: PyConWebFast and Beautiful Images: PyConWeb
Fast and Beautiful Images: PyConWebDoug Sillars
 
JSDay 2013 - Practical Responsive Web Design
JSDay 2013 - Practical Responsive Web DesignJSDay 2013 - Practical Responsive Web Design
JSDay 2013 - Practical Responsive Web DesignJonathan Klein
 
Sustainable UX at IA Summit 2017 Vancouver
Sustainable UX at IA Summit 2017 VancouverSustainable UX at IA Summit 2017 Vancouver
Sustainable UX at IA Summit 2017 VancouverJames Christie
 
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
 
Responsive Images and Video
Responsive Images and VideoResponsive Images and Video
Responsive Images and VideoJason Grigsby
 
Mobile era fastandbeautiful
Mobile era fastandbeautifulMobile era fastandbeautiful
Mobile era fastandbeautifulDoug Sillars
 
Notts js fastandbeautiful
Notts js fastandbeautifulNotts js fastandbeautiful
Notts js fastandbeautifulDoug Sillars
 
Fastandbeautiful belfast
Fastandbeautiful belfastFastandbeautiful belfast
Fastandbeautiful belfastDoug Sillars
 
Responsive Web Design & the state of the Web
Responsive Web Design & the state of the WebResponsive Web Design & the state of the Web
Responsive Web Design & the state of the WebYiannis Konstantakopoulos
 
Bordeaux js fastandbeautiful
Bordeaux js fastandbeautifulBordeaux js fastandbeautiful
Bordeaux js fastandbeautifulDoug Sillars
 
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital MarketersSearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital MarketersDistilled
 
Page Speed Insights: The Ballad of Improving Performance
Page Speed Insights: The Ballad of Improving PerformancePage Speed Insights: The Ballad of Improving Performance
Page Speed Insights: The Ballad of Improving PerformanceJames McNulty
 
OSCAL: Free and Open Source Tools for Image and Video Performance
OSCAL: Free and Open Source Tools for Image and Video PerformanceOSCAL: Free and Open Source Tools for Image and Video Performance
OSCAL: Free and Open Source Tools for Image and Video PerformanceDoug Sillars
 
Making Mobile Sites Faster
Making Mobile Sites FasterMaking Mobile Sites Faster
Making Mobile Sites FasterAndy Davies
 
Front-End Performance Starts On the Server
Front-End Performance Starts On the ServerFront-End Performance Starts On the Server
Front-End Performance Starts On the ServerJon Arne Sæterås
 

Similar to Optimizing design: a UX practitioners guide (20)

Making the Switch, Part 1: Top 5 Things to Consider When Evaluating Drupal
Making the Switch, Part 1: Top 5 Things to Consider When Evaluating DrupalMaking the Switch, Part 1: Top 5 Things to Consider When Evaluating Drupal
Making the Switch, Part 1: Top 5 Things to Consider When Evaluating Drupal
 
Edi ux fastandbeautiful
Edi ux fastandbeautifulEdi ux fastandbeautiful
Edi ux fastandbeautiful
 
Faster Frontends
Faster FrontendsFaster Frontends
Faster Frontends
 
Fast and Beautiful Images: PyConWeb
Fast and Beautiful Images: PyConWebFast and Beautiful Images: PyConWeb
Fast and Beautiful Images: PyConWeb
 
JSDay 2013 - Practical Responsive Web Design
JSDay 2013 - Practical Responsive Web DesignJSDay 2013 - Practical Responsive Web Design
JSDay 2013 - Practical Responsive Web Design
 
Sustainable UX at IA Summit 2017 Vancouver
Sustainable UX at IA Summit 2017 VancouverSustainable UX at IA Summit 2017 Vancouver
Sustainable UX at IA Summit 2017 Vancouver
 
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
 
Responsive Images and Video
Responsive Images and VideoResponsive Images and Video
Responsive Images and Video
 
Mobile era fastandbeautiful
Mobile era fastandbeautifulMobile era fastandbeautiful
Mobile era fastandbeautiful
 
Notts js fastandbeautiful
Notts js fastandbeautifulNotts js fastandbeautiful
Notts js fastandbeautiful
 
Fastandbeautiful belfast
Fastandbeautiful belfastFastandbeautiful belfast
Fastandbeautiful belfast
 
Hackference
HackferenceHackference
Hackference
 
Velocity dust
Velocity dustVelocity dust
Velocity dust
 
Responsive Web Design & the state of the Web
Responsive Web Design & the state of the WebResponsive Web Design & the state of the Web
Responsive Web Design & the state of the Web
 
Bordeaux js fastandbeautiful
Bordeaux js fastandbeautifulBordeaux js fastandbeautiful
Bordeaux js fastandbeautiful
 
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital MarketersSearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
 
Page Speed Insights: The Ballad of Improving Performance
Page Speed Insights: The Ballad of Improving PerformancePage Speed Insights: The Ballad of Improving Performance
Page Speed Insights: The Ballad of Improving Performance
 
OSCAL: Free and Open Source Tools for Image and Video Performance
OSCAL: Free and Open Source Tools for Image and Video PerformanceOSCAL: Free and Open Source Tools for Image and Video Performance
OSCAL: Free and Open Source Tools for Image and Video Performance
 
Making Mobile Sites Faster
Making Mobile Sites FasterMaking Mobile Sites Faster
Making Mobile Sites Faster
 
Front-End Performance Starts On the Server
Front-End Performance Starts On the ServerFront-End Performance Starts On the Server
Front-End Performance Starts On the Server
 

Recently uploaded

The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfAmirYakdi
 
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...Amil baba
 
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...Suhani Kapoor
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricksabhishekparmar618
 
Kindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUpKindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUpmainac1
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...BarusRa
 
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...Yantram Animation Studio Corporation
 
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
SCRIP Lua HTTP PROGRACMACION PLC  WECON CASCRIP Lua HTTP PROGRACMACION PLC  WECON CA
SCRIP Lua HTTP PROGRACMACION PLC WECON CANestorGamez6
 
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai DouxDubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Douxkojalkojal131
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️soniya singh
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Roomdivyansh0kumar0
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfParomita Roy
 
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...Call Girls in Nagpur High Profile
 
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call GirlsCBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girlsmodelanjalisharma4
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceanilsa9823
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdftbatkhuu1
 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptxVanshNarang19
 

Recently uploaded (20)

escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
 
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
 
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricks
 
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
 
Kindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUpKindergarten Assessment Questions Via LessonUp
Kindergarten Assessment Questions Via LessonUp
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
 
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance VVIP 🍎 SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SER...Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance VVIP 🍎 SER...
 
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
 
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
SCRIP Lua HTTP PROGRACMACION PLC  WECON CASCRIP Lua HTTP PROGRACMACION PLC  WECON CA
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
 
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai DouxDubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
 
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
 
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call GirlsCBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdf
 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptx
 

Optimizing design: a UX practitioners guide

  • 1. Design, optimized: a UX guide Improve Performance for User Satisfaction, Profit and Sustainability photo by likeaduck http://www.flickr.com/photos/thartz00/sets/72157624465684865/ Tuesday, July 2, 13
  • 2. Me: James Christie @jc_ux Portsmouth | Boston | Louisville www.madpow.com Twitter: @madpow Web developer > usability > UX Designer UX Honeycomb: http://semanticstudios.com/publications/semantics/000029.php Tuesday, July 2, 13
  • 3. The Web Is Slow http://www.flickr.com/photos/nuskyn/ Tuesday, July 2, 13
  • 4. Is the web slow?Yup. • Users expect <2s page load • Web performance is second only to security in user expectations (Forrester) 2011 5.94s 2012 7.25s 2013 ~9s http://seekingalpha.com/article/1120151-reviewing-the-mobile-revenue-of-major-internet-companies http://gravitydept.com/blog/responsive-ecommerce/ Alexa Retail 2000 index of median load time Tuesday, July 2, 13
  • 5. 1. User Perception http://www.websiteoptimization.com/speed/tweak/psychology-web-performance/ <0.1 sec Instant 1 sec Flow 4-5 sec Impatience 8-10 Sec Intolerable Load time Perception Slow: “Not credible” Fast: less frustration, lower blood pressure, deeper flow states, higher conversion rates, lower bailout rates, site interestingness and attractiveness Fogg, B. J., et al., "What Makes Web Sites Credible? A Report on a Large Quantitative Study" Tuesday, July 2, 13
  • 6. 2. KPIs: slow bad, fast good • Bing: 2s load delay = 4.3% less revenue/user • Google: 400ms delay = 0.59% fewer searches • Yahoo! 400ms slowdown = 5 to 9% less traffic http://velocityconf.com/velocity2009/public/schedule/detail/8523 • Shopzilla: 5s faster = +12% conversions • Mozilla: 2.2s faster = +15.4% conversions (60 million more Firefox downloads) Tuesday, July 2, 13
  • 7. 3. Mobile • 55% use mobile internet regularly • “Mobile Mostly”: 31% • 71% mobile users encounter slow speeds • 3G, 4G and EDGE • Cost of data: ~$10 for 100MB • Rule of thumb: pages at least x2 slower than desktop http://pewinternet.org/Commentary/2012/February/Pew-Internet-Mobile.aspx Tuesday, July 2, 13
  • 8. 4. Inclusion • People on mobile-only internet are more likely to be... • Young (18-25) • Earn less than $30k • People in overseas markets with poor internet infrastructure Tuesday, July 2, 13
  • 9. “...entire populations of people simply could not use YouTube because it took too long to see anything” “By keeping your client side code small and lightweight, you can literally open your product up to new markets” Regular page: 1.2MB Feather: 250kB http://blog.chriszacharias.com/page-weight-matters Tuesday, July 2, 13
  • 10. 5. SEO http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search-ranking.html • Impact: • Some claiming 20-40% improvement in rankings after optimizing http://www.strangeloopnetworks.com/blog/13-questions-and-answers-about-google-site-speed-and-seo/ Tuesday, July 2, 13
  • 11. 6. Sustainability • Serving web pages takes energy • Internet carbon footprint today: 620 Million Tons / year. x2 in 2020 http://keelingcurve.ucsd.edu/ http://goo.gl/nK0h1http://www.greentouch.org/ 0 500 1000 1500 2000 web ‘13 Aviation web ‘20 Russia CO2 Million tons / yr http://en.wikipedia.org/wiki/List_of_countries_by_carbon_dioxide_emissions http://www.atag.org/facts-and-figures.html Tuesday, July 2, 13
  • 12. What’s slowing us down? (and what can we do?) Tuesday, July 2, 13
  • 13. Frontend / Backend • “80-90% of the end-user response time is spent on the frontend. Start there.” Steve Souders stevesouders.com/blog/2012/02/10/the-performance-golden-rule/ 0 25 50 75 100 backend frontend Page load delay average across top 50,000 websites Delay here Tuesday, July 2, 13
  • 15. Current page size •1446kB! • That’s a floppy • >2 minutes on 56.6 kbps modem • 10s on 1mbps cable • USA Average: 7.4mbps • (5% still on dial-up) http://httparchive.org/interesting.php http://www.techspot.com/news/52338-average-broadband-speed-in-the-us-up-28-south-korea-still-far-ahead.html http://www.pewinternet.org/Reports/2010/Home-Broadband-2010.aspx Tuesday, July 2, 13
  • 16. Frontend bulk 0 375 750 1125 1500 Page weight in KB HTML CSS JS Images Fonts Other Figures: http://httparchive.org/trends.php Most optimization talks are about the JavaScript Tuesday, July 2, 13
  • 17. Frontend bulk 0 375 750 1125 1500 Page weight in KB Figures: http://httparchive.org/trends.php My tips are about the images, fonts and “other stuff” too. Tuesday, July 2, 13
  • 18. More friction: object count Anatomy of an HTTP request Tuesday, July 2, 13
  • 19. Do-it-yourself benchmarking • Plenty of online services and tools • ySlow, Google PageSpeed • Most browsers have their own inspector • We’ll use Google Chrome Tuesday, July 2, 13
  • 22. 2.3MB 556 HTTP requests 11 seconds to load 8843 pixels high Tuesday, July 2, 13
  • 23. The whole page Example inspired by Brad Frost’s “Death to BS” https://www.youtube.com/watch?v=ABd6U17YAdo Tuesday, July 2, 13
  • 24. Just the content (in blue) Example inspired by Brad Frost’s “Death to BS” https://www.youtube.com/watch?v=ABd6U17YAdo Tuesday, July 2, 13
  • 25. Ads Navigation Social sharing Comments Ads x-site content More Ads .... Example inspired by Brad Frost’s “Death to BS” https://www.youtube.com/watch?v=ABd6U17YAdo Tuesday, July 2, 13
  • 26. Example inspired by Brad Frost’s “Death to BS” https://www.youtube.com/watch?v=ABd6U17YAdo 0 750 1500 2250 3000 Page weight in KB HTML CSS JS Images Fonts Other Images: 1MB Scripts: 1MB Article: 41kB Tuesday, July 2, 13
  • 27. Speed things up • Speed up pages by... • having fewer objects • less data transfer • lots of technical tweaks • Time to reconsider: • UX design • Visual design • Code planning Tuesday, July 2, 13
  • 28. Dan Saffer’s Disciplines of UX: http://www.kickerstudio.com/2008/12/the-disciplines-of-user-experience/ UX design Tuesday, July 2, 13
  • 31. Reduced carousels • Vectorize • Load on demand • Optimize http://www.unitedutilities.com/default.aspx645px wide, only 60kB http://www.starbucks.com/ Tuesday, July 2, 13
  • 33. Brad Frost carousel challenge http://bradfrostweb.com/blog/post/carousels/ •Add tracking to your carousel •Collect data •Analysis (and publish) •A/B test University ofYork: removed panels, increased engagement http://yorkwebteam.blogspot.co.uk/2013/03/are-homepage-carousels-effective-aka.html Tuesday, July 2, 13
  • 34. Ads • Less ads would be nice... • Better to have a few big ads than lots of little ones • “In marketing we measure impressions - not page speed.We don’t take the harm of the slow-down into account” Tuesday, July 2, 13
  • 35. Share Buttons Typical payload: 400kB in images & scripts http://jcux.co.uk/cleanux/buttons.html Tuesday, July 2, 13
  • 36. Share button script overhead Tuesday, July 2, 13
  • 37. Button cure: kill, link, or lazyload “ What we know for sure is that these magic buttons promote their own brands — and that they tend to make you look a little desperate.” Sweep the Sleaze, Oliver Reichenstein, ia.net http://ia.net/blog/sweep-the-sleaze/ http://alistapart.com/article/designing-for-breakpoints Pure links: Kill: Lazy Load: http://wp.tutsplus.com/tutorials/add-lazy-loading-social-sharing-buttons-to-your-wordpress-blog/ Tuesday, July 2, 13
  • 38. 3rd party content http://velocityconf.com/velocity2010/public/schedule/detail/15412 • “Don’t let 3rd parties get you down” - Google, at Velocity 2010 • Found an ~15% latency impact • (Sleazy impact: 1,000%) Tuesday, July 2, 13
  • 39. The savings don’t stop • Maps: 400kB in images and scripts • Autoplay videos: many MB instantly • Animation JS: if poorly managed Tuesday, July 2, 13
  • 40. Visual Design Savings Flickr mattdoucette http://bit.ly/14uFtEq Tuesday, July 2, 13
  • 41. Image triage • Simply, have fewer images. • Optimize more • Smush.it (free) • jpg or png? 0 375 750 1125 1500 Page weight in KB Tuesday, July 2, 13
  • 43. Responsive Images We’re missing out on 72% image savings for mobile. Go read: http://timkadlec.com/2013/06/why-we-need- responsive-images/ Tuesday, July 2, 13
  • 44. Image replacement: Icon Fonts http://www.heydonworks.com/article/using-icon-web-fonts http://glyphicons.com/ • Replace your icon gifs with one font file. • Free, paid, and roll-your-own options Tuesday, July 2, 13
  • 45. Future: pure CSS icons http://nicolasgallagher.com/pure-css-gui-icons/demo/ Tuesday, July 2, 13
  • 46. Image organization: Icon Sprites • Combine lots of small icons into one file • Big saving on HTTP requests • Free services like http://spriteme.org/ Tuesday, July 2, 13
  • 47. Vectors • SVG now production-ready (mostly) • Files scale to any size • This guy is 20kB Tuesday, July 2, 13
  • 48. Tame web fonts ✤20 to 100kB ✤Lots of HTTP requests Tuesday, July 2, 13
  • 50. Code savings • Too many to mention here: • Minifiy Scripts. • Compress downloads. • Set Expire headers in .htaccess. • Use .gzip compression. • Server side concatenation of scripts. • Fix the script load order (put JS at the bottom). • Use asynchronous JS loading. • Use DNS pre-fetch. • Use cookie-less domains for static assets. • Use two domains for static assets (take advantage of parallel download). • Use conditional loading - only load scripts/images when needed. Tuesday, July 2, 13
  • 53. Page budgets • Set a budget in kB that suits needs of audience • (More mobile? Smaller pages.) • Trade features and content against the budget http://clearleft.com/thinks/responsivedesignonabudget/ Tuesday, July 2, 13
  • 54. Site budgets • Extend the idea to a whole site • How much data, and how much time loading the site, for each user? • Manage the delays Tuesday, July 2, 13
  • 56. • 790kB in image saving • 100kB in script • 400kB in Share Buttons Tuesday, July 2, 13
  • 57. Warm fuzzies Metric Before After Saving All users/ year Home Loading time/visit 4s 2s 2s 555 hours Total visit loading time 30s 16s 14s 162 days Data/visit 10MB 3MB 7MB 6,873 GB Tuesday, July 2, 13
  • 58. Cold Hard ROI* Metric Before After Difference Conversion 5% 10% +5% Time-on site 1:13 1:55 +42s Bounce-rate 20% 15% -5% Mobile bounce 50% 20% -30% Hosting cost $50,000 $40,000 -$10,000 ecomm revenue $100k $300k +$200k *complete fabrication Tuesday, July 2, 13
  • 59. Inspirational examples • Zappos: 1.2MB, 985ms • Mailchimp.com: 876kB, 2 seconds • 2013.dconstruct.org: 142kB, 925ms • “How low can you go?” approach • “This is a web page”: 13kB, 377ms http://justinjackson.ca/words.html Tuesday, July 2, 13
  • 60. “Things should be as simple as possible, but no simpler.” Tuesday, July 2, 13
  • 61. Summary • Images and scripts are where the main savings can be made • Think in terms of data footprint and object count • Set a budget per page or per user visit • Work with clients and users to find what content can be reduced or retired • Challenge orthodoxy! (cough carousels cough) Tuesday, July 2, 13
  • 63. Thank you! • Thank you for your time! • I love feedback: • Twitter: @jc_ux • Email: jchristie@madpow.com • Big thanks to Mad*Pow for hosting! Tuesday, July 2, 13
  • 64. Follow @madpow for more events and insights Tuesday, July 2, 13