SlideShare a Scribd company logo
(Mobile) Web Performance
 Reducethe page load /page weight as
 much as possible
 http://developer.yahoo.com/performance/ru
 les.html
  • Minimize HTTP requests
  • Put CSS at top of page
  • Put JavaScript scripts at bottom of page
  • Avoid images where possible and/or optimize images:
      FIFA Scoreboard, use gradient
  tr.game{
      background: #434343; /* IE default */
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#434343',
      endColorstr='#171717');
      background: -webkit-gradient(linear, left top, left bottom, from(#434343),
      to(#171717)); /* for webkit browsers */
      background: -moz-linear-gradient(top, #434343, #171717);
  }
 Use  Image sprites, e.g. PG:
  http://www.cbc.ca/m/touch/pg.html
http://www.cbc.ca/m/touch//img/sprite_pg.pn
  g
 Use minified scripts, i.e. js, css (YSlow),
  e.g. http://cbc.ca/m/touch/js/core.js
   Test Web Performance on your mobile device:
    http://www.blaze.io/mobile/

   Web Site Performance: http://www.webpagetest.org/

   Show Slow: Chrome App: http://bit.ly/leaBX0

   Web Inspector Remote (weinre), very nice way to debug your mobile
    device remotely (Demo: http://bit.ly/flvhDk), Velocity Demo, 00:15min
    http://bit.ly/is9sDo

   HTTP Archive http://httparchive.org/about.php

   CSSLint: http://csslint.net/
 MobilePerf   Bookmarklet: http://p.ad.ag/

 YSlowMobile  Bookmarklet:
 http://developer.yahoo.com/yslow/mobile

 Jdrop   Bookmarklet: http://jdrop.org/
 DataURIs: http://css-tricks.com/5970-
 data-uris/

 CSS:  Use hex for icons
 http://pukupi.com/post/1964

 PhantomJS: Command-line JS Tool,
 http://www.phantomjs.org/
 Max  Firtman’s Sim/Emulator page:
 http://www.mobilexweb.com/emulators

 Remote   Labs
 • http://deviceanywhere.com
 • http://perfectomobile.com
 Google Chrome Instant:
 http://www.google.com/support/chrome/bin/answ
 er.py?answer=177873
 Video, 04:18min, http://bit.ly/mNnqu8

 Alexa   100: http://www.alexa.com/topsites
  • For Canada:
   http://www.alexa.com/topsites/countries/CA

 SPDY   vs. HTTP:
 http://www.chromium.org/spdy/spdy-whitepaper
   Lazy loading: Transfer data when needed and preload
    where appropriate. Don't load images that will never be
    seen by the end user
   Reduce HTTP requests, more CSS sprites

   Use more web performance tests

   More mobile web frameworks

   Investigate usage of data URI for images

   Offline storage/local cache
   Evaluate metrics code (see WebPagetest.org results)
   All slides & videos from Velocityconf 2011
    • http://velocityconf.com/velocity2011/public/schedule/proceedings
   YouTube: http://www.youtube.com/user/OreillyMedia
   John Resig on JS performance:
    http://www.youtube.com/watch?feature=player_embedde
    d&v=WuMEQN7aph0
   Facebook, Infrastructure
    http://www.youtube.com/watch?v=urG0dQ7kc3w&feature
    =player_embedded
   Most of those projects are open source and can be found
    on github

More Related Content

PPT
The Need For Speed
PDF
Making Mobile Sites Faster
PPT
Joomla wireframing Template - Joomladay Netherlands 2014 #jd14nl
PDF
Web Performance Workshop - Velocity London 2013
PDF
Web Performance Optimierung - DWX13
PPTX
Chrome OS presentation
PPTX
Deconstruct Website - Session 1
PPT
Wind Pad 100w NUI interface PK
The Need For Speed
Making Mobile Sites Faster
Joomla wireframing Template - Joomladay Netherlands 2014 #jd14nl
Web Performance Workshop - Velocity London 2013
Web Performance Optimierung - DWX13
Chrome OS presentation
Deconstruct Website - Session 1
Wind Pad 100w NUI interface PK

What's hot (20)

PPTX
Krystal's s.. pres
PPT
Responsive Design: Uitdagingen en Oplossingen
PPTX
10 things to make you a Great Mobile Web Developer
PPTX
Practical, Free And Low Cost Tools You Can Use
PDF
Web Bluetooth - Next Generation Bluetooth?
PPTX
That's crazy! how to build single page web apps
PDF
Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?
PPTX
5 Skills Needed to be a Successful WebVR Developer
PDF
Are Today’s Good Practices... Tomorrow’s Performance Anti-Patterns?
PPTX
Mobilize Joomla
PDF
Nobody Wants a Slow Website
PDF
Progressive Enhancement
PPTX
In Search of Speed
PPT
43 Things
PPT
40 Plus Cool Tools for Library Webmasters
PPTX
WebMatrix jQuery Mobile Web
PPTX
From desktop to mobile web
PPT
2010 New and Cool Tools
PDF
Lessons from Developing an AI to Play Magic: The Gathering
PPT
Usability
Krystal's s.. pres
Responsive Design: Uitdagingen en Oplossingen
10 things to make you a Great Mobile Web Developer
Practical, Free And Low Cost Tools You Can Use
Web Bluetooth - Next Generation Bluetooth?
That's crazy! how to build single page web apps
Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?
5 Skills Needed to be a Successful WebVR Developer
Are Today’s Good Practices... Tomorrow’s Performance Anti-Patterns?
Mobilize Joomla
Nobody Wants a Slow Website
Progressive Enhancement
In Search of Speed
43 Things
40 Plus Cool Tools for Library Webmasters
WebMatrix jQuery Mobile Web
From desktop to mobile web
2010 New and Cool Tools
Lessons from Developing an AI to Play Magic: The Gathering
Usability
Ad

Viewers also liked (9)

PPT
effective and deffective teens
PPT
Crowsnest Fires!!!
PDF
3rd Party Footprint @ Webrebels
PPTX
Crowsnest Fires 2003
PPT
Teens and Stuff
PPTX
User Effective Applications
PPT
Schampers Nv 1
PPT
People Of Sparks
PPT
SARS 病例定義
effective and deffective teens
Crowsnest Fires!!!
3rd Party Footprint @ Webrebels
Crowsnest Fires 2003
Teens and Stuff
User Effective Applications
Schampers Nv 1
People Of Sparks
SARS 病例定義
Ad

Similar to Mobile Web Performance - Velocity 2011 (20)

PDF
Mobile Web Speed Bumps
PDF
Play withmultimedia mac
PDF
Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18
PDF
Developing for Mobile
PDF
Pinkoi Mobile Web
PDF
[convergese] Adaptive Images in Responsive Web Design
PDF
[refreshaustin] Adaptive Images in Responsive Web Design
ODP
Mobile Web Talk
PPTX
Google I/O 2012 - Protecting your user experience while integrating 3rd party...
PDF
Http/2 - What's it all about?
PDF
Mobile First Responsive Design
PDF
Speak The Web: The HTML5 Experiments
PPT
Widget Summit 2008
PDF
Developing web applications in 2010
PDF
[rwdsummit2012] Adaptive Images in Responsive Web Design
PDF
从小书签到浏览器扩展的应用
PDF
[html5tx] Adaptive Images in Responsive Web Design
PPTX
Web Directions South - Even Faster Web Sites
PDF
[cssdevconf] Adaptive Images in RWD
PDF
[HEWEBAR 2012] Adaptive Images in Responsive Web Design
Mobile Web Speed Bumps
Play withmultimedia mac
Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18
Developing for Mobile
Pinkoi Mobile Web
[convergese] Adaptive Images in Responsive Web Design
[refreshaustin] Adaptive Images in Responsive Web Design
Mobile Web Talk
Google I/O 2012 - Protecting your user experience while integrating 3rd party...
Http/2 - What's it all about?
Mobile First Responsive Design
Speak The Web: The HTML5 Experiments
Widget Summit 2008
Developing web applications in 2010
[rwdsummit2012] Adaptive Images in Responsive Web Design
从小书签到浏览器扩展的应用
[html5tx] Adaptive Images in Responsive Web Design
Web Directions South - Even Faster Web Sites
[cssdevconf] Adaptive Images in RWD
[HEWEBAR 2012] Adaptive Images in Responsive Web Design

More from Barbara Bermes (10)

PDF
Cheat Sheet to a Lean Website
PDF
Third Party Footprint: Evaluating the Performance of External Scripts
PDF
3rd party footprint - A PUBLISHER'S TAKE ON CONTROLLING 3RD PARTY SCRIPTS
PDF
WebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSM
PDF
The Canadian Public Broadcaster on a Diet: Slimming down for a whole nation
PDF
The CBC on a diet - Slimming down for a whole nation
PDF
Smartphones in Today's World
PDF
Building Energy-Efficient Websites
PDF
Developing for Mobile Web
PDF
Business Analysis - Essentials
Cheat Sheet to a Lean Website
Third Party Footprint: Evaluating the Performance of External Scripts
3rd party footprint - A PUBLISHER'S TAKE ON CONTROLLING 3RD PARTY SCRIPTS
WebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSM
The Canadian Public Broadcaster on a Diet: Slimming down for a whole nation
The CBC on a diet - Slimming down for a whole nation
Smartphones in Today's World
Building Energy-Efficient Websites
Developing for Mobile Web
Business Analysis - Essentials

Recently uploaded (20)

PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Machine learning based COVID-19 study performance prediction
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Modernizing your data center with Dell and AMD
PPTX
A Presentation on Artificial Intelligence
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Cloud computing and distributed systems.
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation theory and applications.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
“AI and Expert System Decision Support & Business Intelligence Systems”
Machine learning based COVID-19 study performance prediction
Review of recent advances in non-invasive hemoglobin estimation
NewMind AI Monthly Chronicles - July 2025
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Empathic Computing: Creating Shared Understanding
20250228 LYD VKU AI Blended-Learning.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Building Integrated photovoltaic BIPV_UPV.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Big Data Technologies - Introduction.pptx
Modernizing your data center with Dell and AMD
A Presentation on Artificial Intelligence
Advanced methodologies resolving dimensionality complications for autism neur...
The AUB Centre for AI in Media Proposal.docx
Cloud computing and distributed systems.
Per capita expenditure prediction using model stacking based on satellite ima...
Electronic commerce courselecture one. Pdf
Encapsulation theory and applications.pdf

Mobile Web Performance - Velocity 2011

  • 2.  Reducethe page load /page weight as much as possible
  • 3.  http://developer.yahoo.com/performance/ru les.html • Minimize HTTP requests • Put CSS at top of page • Put JavaScript scripts at bottom of page • Avoid images where possible and/or optimize images: FIFA Scoreboard, use gradient tr.game{ background: #434343; /* IE default */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#434343', endColorstr='#171717'); background: -webkit-gradient(linear, left top, left bottom, from(#434343), to(#171717)); /* for webkit browsers */ background: -moz-linear-gradient(top, #434343, #171717); }
  • 4.  Use Image sprites, e.g. PG: http://www.cbc.ca/m/touch/pg.html http://www.cbc.ca/m/touch//img/sprite_pg.pn g  Use minified scripts, i.e. js, css (YSlow), e.g. http://cbc.ca/m/touch/js/core.js
  • 5. Test Web Performance on your mobile device: http://www.blaze.io/mobile/  Web Site Performance: http://www.webpagetest.org/  Show Slow: Chrome App: http://bit.ly/leaBX0  Web Inspector Remote (weinre), very nice way to debug your mobile device remotely (Demo: http://bit.ly/flvhDk), Velocity Demo, 00:15min http://bit.ly/is9sDo  HTTP Archive http://httparchive.org/about.php  CSSLint: http://csslint.net/
  • 6.  MobilePerf Bookmarklet: http://p.ad.ag/  YSlowMobile Bookmarklet: http://developer.yahoo.com/yslow/mobile  Jdrop Bookmarklet: http://jdrop.org/
  • 7.  DataURIs: http://css-tricks.com/5970- data-uris/  CSS: Use hex for icons http://pukupi.com/post/1964  PhantomJS: Command-line JS Tool, http://www.phantomjs.org/
  • 8.  Max Firtman’s Sim/Emulator page: http://www.mobilexweb.com/emulators  Remote Labs • http://deviceanywhere.com • http://perfectomobile.com
  • 9.  Google Chrome Instant: http://www.google.com/support/chrome/bin/answ er.py?answer=177873 Video, 04:18min, http://bit.ly/mNnqu8  Alexa 100: http://www.alexa.com/topsites • For Canada: http://www.alexa.com/topsites/countries/CA  SPDY vs. HTTP: http://www.chromium.org/spdy/spdy-whitepaper
  • 10. Lazy loading: Transfer data when needed and preload where appropriate. Don't load images that will never be seen by the end user  Reduce HTTP requests, more CSS sprites  Use more web performance tests  More mobile web frameworks  Investigate usage of data URI for images  Offline storage/local cache  Evaluate metrics code (see WebPagetest.org results)
  • 11. All slides & videos from Velocityconf 2011 • http://velocityconf.com/velocity2011/public/schedule/proceedings  YouTube: http://www.youtube.com/user/OreillyMedia  John Resig on JS performance: http://www.youtube.com/watch?feature=player_embedde d&v=WuMEQN7aph0  Facebook, Infrastructure http://www.youtube.com/watch?v=urG0dQ7kc3w&feature =player_embedded  Most of those projects are open source and can be found on github