SlideShare uma empresa Scribd logo
1 de 39
Making Mobile
Super Fast
By: Cindy Krum
MobileMoxie
SMX Munich, 2015
Google Prefers Faster
Websites – Especially
for Mobile:
(Currently Testing a New
‘Slow Tag’ in Mobile the
SERP)
Google Says They
Prefer Responsive
Web Design for
Mobile:
Google Says They
Prefer Responsive
Web Design for
Mobile:
The Problem is Most Developers Don’t Know How
to Build a Fast Responsive Design Site:
April 2014 Survey of 1,000 Responsive Design Sites
The Problem is, Responsive Design is Hard to
Make Fast:
But….
Google Prefers
Responsive
Design
But…
Google Prefers
Fast Mobile
Pages
Hurts
Crawl
Efficiency
Fewer
Pages are
Indexed
Slows
the
Crawler High Mobile
Bounces
High Site
Abandonment
Hurts
UX
The Problem is, Responsive Design is Hard to
Make Fast:
This Talk Will Cover:
• Round Trip Requests & Critical Path
Rendering
• Image & CSS Optimization
• Caching & Compression Opitimization
What is Critical
Path Rendering?
Understanding Round Trip Requests for Mobile:
Understanding Round Trip Requests for Mobile:
Data Received
Data Request
Connection Request
Data Transmission
Acknowledgement
Understanding Round Trip Requests for Mobile:
Data Received
Data Request
Connection Request
Data Transmission
Acknowledgement
Round Trip
Requests
# External
Assets On
the Page
=
Combine Elements to Reduce Round Trip
Requests:
Understanding Round Trip Requests for Mobile:
Data Received
Data Request
Connection Request
Data Transmission
Acknowledgement
Unique Object Count Object Size
Understanding Round Trip Requests for Mobile:
Data Received
Data Request
Connection Request
Data Transmission
Acknowledgement
Google Says Each RTR = 200 Milliseconds for
3G/4G so…
65 RTRs = 13,000 Milliseconds = 13 Seconds Latency
Unique Object Count Object Size
Understanding Round Trip Requests for Mobile:
Data Received
Data Request
Connection Request
Data Transmission
Acknowledgement
And Blocking These Resources Will Only Hurt You
The Only Way Google Can
Accurately Tell if Your Site is
Built in Responsive Design is if
they can Crawl the JS and CSS.
If CSS or JS Files You Control
are Blocked, Google Might Not
Consider You Mobile-Friendly.
Combine Elements to Reduce Round Trip
Requests:
The Round Trips You are Forgetting About:
Any External Links to Unused
Style Sheets/Images/Scripts
301 Redirects
Multi-Hop 301 Redirects
404 Page Requests
Web Fonts
Favicons
Script Libraries (EX: Bootstrap)
Other Things You are Forgetting About:
Tool: Google PageSpeed Chrome Plugin
Making Images Mobile Friendly - Sprites:
Bad Sprite Hygiene Risks Extra Round Trips
Please Don’t Do this with Your Sprites….
Make Sprite Hygiene a Priority
1 Global Sprite for the Entire Site
Sprites Are NOT Cachable so Keep the File Size Small
1 Sprite for Each Page Template
Include the Template Name in the Sprite Name
Use URI Valet to Review Sprites Twice a Year
Click on the Links to Open the Sprite & See the Images it Holds
Use SpriteMe to Find Opportunities for Consolidation
Use Chrome Developer Tools to Find Un-Used Sprite Calls (Classes)
Images Are Critical – Image Weight a Key Driver
in Overall Page Weight:
Images Are Critical – Image Weight a Key Driver
in Overall Page Weight:
Making Images Mobile Friendly – Image Servers:
Making Images Mobile Friendly – Responsive
Images:
The picture element
allows you to
provide multiple
sources of the same
image at different
resolutions so the
browser can pick the
image of the correct
size based on the
viewport size.
Making Images Mobile Friendly – Responsive
Images:
The picture element
allows you to
provide multiple
sources of the same
image at different
resolutions so the
browser can pick the
image of the correct
size based on the
viewport size.
Making Images Mobile Friendly – Responsive
Images:
Simple Cropping:
Basic implementation, uses the
source element and different
@media-queries to fetch the
correct image for the device-
screen.
Grid System &
Variable Width:
This uses a mobile first
approach with 5 breakpoint.
It only loads images as each
breakpoint matches.
Variable width images with
multiple responsive
breakpoints & max-width EM
sailing.
Art Direction:
If the screen is small and the
image is scaled down, its
details cannot be seen. Using
"art direction" helps
overcome this problem.
Rotate/resize the window
and the image presentation
can change.
Caching &
Compression
Proxy Caching vs. Browser Caching:
Browser Caching
Proxy Caching
Proxy Caching For Mobile:
Internet
Web Server
Proxy Cache
EX: Your ISP
End User
End User
Caching & Compression – Browser Caching:
Do This:
• Specify a Freshness lifetime of a week or more – Without a Freshness
Lifetime Set, Your Stuff Won’t Cache.
• Remove Unnecessary Query Strings - Most Caching Bodies Won’t Cache
items with a ‘?’
• Don’t Worry About Freshness if You are Changing File Names
• Use Cache Validators to Ensure Freshness (ET Tags and/or Expiration Dates)
• NOTE: Inline CSS & JS Won’t be Cached
Compression & Minification
gZip & Minify:
JavaScript
HTML
CSS
Proper CDN
Settings:
http://bit.ly/1BTgIFe
Thanks!!
Cindy Krum
CEO & Founder, MobileMoxie
cindy@mobilemoxie.com
@Suzzicks

Mais conteúdo relacionado

Destaque

Alvaro Y Rodigo
Alvaro Y RodigoAlvaro Y Rodigo
Alvaro Y Rodigo
diver4a
 
The Social-Mobile Web: How to Crush Your Local Competition (Emily Grossman Ze...
The Social-Mobile Web: How to Crush Your Local Competition (Emily Grossman Ze...The Social-Mobile Web: How to Crush Your Local Competition (Emily Grossman Ze...
The Social-Mobile Web: How to Crush Your Local Competition (Emily Grossman Ze...
Suzzicks
 
adverbs & phrases of frequency
adverbs & phrases of frequencyadverbs & phrases of frequency
adverbs & phrases of frequency
diver4a
 
Mobile & Big Data
Mobile & Big DataMobile & Big Data
Mobile & Big Data
Suzzicks
 
Recruitment And Selection Summary
Recruitment And Selection SummaryRecruitment And Selection Summary
Recruitment And Selection Summary
Melanie.Robertson
 

Destaque (17)

Life After Mobilegeddon: App Deep Linking Strategies - Pubcon October 2015
Life After Mobilegeddon: App Deep Linking Strategies - Pubcon October 2015Life After Mobilegeddon: App Deep Linking Strategies - Pubcon October 2015
Life After Mobilegeddon: App Deep Linking Strategies - Pubcon October 2015
 
Alvaro Y Rodigo
Alvaro Y RodigoAlvaro Y Rodigo
Alvaro Y Rodigo
 
Training
TrainingTraining
Training
 
The Social-Mobile Web: How to Crush Your Local Competition (Emily Grossman Ze...
The Social-Mobile Web: How to Crush Your Local Competition (Emily Grossman Ze...The Social-Mobile Web: How to Crush Your Local Competition (Emily Grossman Ze...
The Social-Mobile Web: How to Crush Your Local Competition (Emily Grossman Ze...
 
adverbs & phrases of frequency
adverbs & phrases of frequencyadverbs & phrases of frequency
adverbs & phrases of frequency
 
Life After Mobilegeddon: New Strategies for Mobile SEO and App Deep Linking -...
Life After Mobilegeddon: New Strategies for Mobile SEO and App Deep Linking -...Life After Mobilegeddon: New Strategies for Mobile SEO and App Deep Linking -...
Life After Mobilegeddon: New Strategies for Mobile SEO and App Deep Linking -...
 
Mobile & Big Data
Mobile & Big DataMobile & Big Data
Mobile & Big Data
 
4 g technology
4 g technology4 g technology
4 g technology
 
Improving your Mobile-Social Interaction - On Facebook & Other Social Networks
Improving your Mobile-Social Interaction - On Facebook & Other Social NetworksImproving your Mobile-Social Interaction - On Facebook & Other Social Networks
Improving your Mobile-Social Interaction - On Facebook & Other Social Networks
 
Why Deep Linking is the Next Big Thing: App Indexing - SMX East 2015
Why Deep Linking is the Next Big Thing: App Indexing - SMX East 2015Why Deep Linking is the Next Big Thing: App Indexing - SMX East 2015
Why Deep Linking is the Next Big Thing: App Indexing - SMX East 2015
 
Bommen Berend
Bommen BerendBommen Berend
Bommen Berend
 
Mobile SEO Geekout: Learn what to do and how to plan for mobile search
Mobile SEO Geekout: Learn what to do and how to plan for mobile searchMobile SEO Geekout: Learn what to do and how to plan for mobile search
Mobile SEO Geekout: Learn what to do and how to plan for mobile search
 
Recruitment And Selection Summary
Recruitment And Selection SummaryRecruitment And Selection Summary
Recruitment And Selection Summary
 
App Store Optimization - SMX Munich - Emily Grossman
App Store Optimization - SMX Munich - Emily GrossmanApp Store Optimization - SMX Munich - Emily Grossman
App Store Optimization - SMX Munich - Emily Grossman
 
How Apple's Changing Up Search: From Siri to Safari to Spotlight - SMX East 2015
How Apple's Changing Up Search: From Siri to Safari to Spotlight - SMX East 2015How Apple's Changing Up Search: From Siri to Safari to Spotlight - SMX East 2015
How Apple's Changing Up Search: From Siri to Safari to Spotlight - SMX East 2015
 
Gaming Sites Getting Mobile Friendly in a Post Mobilegeddon World -- EiG Berl...
Gaming Sites Getting Mobile Friendly in a Post Mobilegeddon World -- EiG Berl...Gaming Sites Getting Mobile Friendly in a Post Mobilegeddon World -- EiG Berl...
Gaming Sites Getting Mobile Friendly in a Post Mobilegeddon World -- EiG Berl...
 
Diageo
DiageoDiageo
Diageo
 

Semelhante a Mobile Page Speed - SMX Munich 2015

Pablo Villalba -
Pablo Villalba - Pablo Villalba -
Pablo Villalba -
.toster
 

Semelhante a Mobile Page Speed - SMX Munich 2015 (20)

Mobile SEO (English Version)
Mobile SEO (English Version)Mobile SEO (English Version)
Mobile SEO (English Version)
 
Adapting to a Responsive Design at Untangle the Web on 29th July 2013
Adapting to a Responsive Design at Untangle the Web on 29th July 2013Adapting to a Responsive Design at Untangle the Web on 29th July 2013
Adapting to a Responsive Design at Untangle the Web on 29th July 2013
 
The Future Of SEO/Content Marketing
The Future Of SEO/Content MarketingThe Future Of SEO/Content Marketing
The Future Of SEO/Content Marketing
 
Improving frontend performance
Improving frontend performanceImproving frontend performance
Improving frontend performance
 
Big Brands, Mobile SEO and You by John Shehata - #SEJSummit New York City
Big Brands, Mobile SEO and You by John Shehata - #SEJSummit New York CityBig Brands, Mobile SEO and You by John Shehata - #SEJSummit New York City
Big Brands, Mobile SEO and You by John Shehata - #SEJSummit New York City
 
7 Section Website Assessment
7 Section Website Assessment 7 Section Website Assessment
7 Section Website Assessment
 
Responsive Web design Zambig
Responsive Web design ZambigResponsive Web design Zambig
Responsive Web design Zambig
 
Mobile SEO Best Practices & Tips
Mobile SEO Best Practices & TipsMobile SEO Best Practices & Tips
Mobile SEO Best Practices & Tips
 
Bits & Pieces: A Systems Approach to Web Design for Brands
Bits & Pieces: A Systems Approach to Web Design for BrandsBits & Pieces: A Systems Approach to Web Design for Brands
Bits & Pieces: A Systems Approach to Web Design for Brands
 
Best Practices for Mobile Sites
Best Practices for Mobile SitesBest Practices for Mobile Sites
Best Practices for Mobile Sites
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Pablo Villalba -
Pablo Villalba - Pablo Villalba -
Pablo Villalba -
 
Going Mobile First With Drupal
Going Mobile First With DrupalGoing Mobile First With Drupal
Going Mobile First With Drupal
 
Responsive Web Designs.pdf
Responsive Web Designs.pdfResponsive Web Designs.pdf
Responsive Web Designs.pdf
 
How to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive WebsiteHow to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive Website
 
UID BIT Coursework
UID BIT CourseworkUID BIT Coursework
UID BIT Coursework
 
Startup Institute NYC: Styling
Startup Institute NYC: StylingStartup Institute NYC: Styling
Startup Institute NYC: Styling
 
11 Tested Ways On How To Build A Mobile Optimized Website.pdf
11 Tested Ways On How To Build A Mobile Optimized Website.pdf11 Tested Ways On How To Build A Mobile Optimized Website.pdf
11 Tested Ways On How To Build A Mobile Optimized Website.pdf
 
Demystifying Mobile SEO - 2014 Search Engine Strategies Atlanta Session
Demystifying Mobile SEO - 2014 Search Engine Strategies Atlanta SessionDemystifying Mobile SEO - 2014 Search Engine Strategies Atlanta Session
Demystifying Mobile SEO - 2014 Search Engine Strategies Atlanta Session
 
Responsive Web Design_2013
Responsive Web Design_2013Responsive Web Design_2013
Responsive Web Design_2013
 

Mais de Suzzicks (9)

Fraggles & the SERP of the Future
Fraggles & the SERP of the FutureFraggles & the SERP of the Future
Fraggles & the SERP of the Future
 
Super Fast - Mobile Page Speed's Impact on SEO
Super Fast - Mobile Page Speed's Impact on SEOSuper Fast - Mobile Page Speed's Impact on SEO
Super Fast - Mobile Page Speed's Impact on SEO
 
Page speedrankings
Page speedrankingsPage speedrankings
Page speedrankings
 
Integrating Mobile In The Marketing Mix
Integrating Mobile In The Marketing MixIntegrating Mobile In The Marketing Mix
Integrating Mobile In The Marketing Mix
 
Improving Mobile Search Engine Listings
Improving Mobile Search Engine ListingsImproving Mobile Search Engine Listings
Improving Mobile Search Engine Listings
 
Mobile Search Battle
Mobile Search BattleMobile Search Battle
Mobile Search Battle
 
Making The Most Of Mobile
Making The Most Of MobileMaking The Most Of Mobile
Making The Most Of Mobile
 
My Space Whoas & Woes
My Space Whoas & WoesMy Space Whoas & Woes
My Space Whoas & Woes
 
Death of the dotMobi
Death of the dotMobiDeath of the dotMobi
Death of the dotMobi
 

Último

Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Cara Menggugurkan Kandungan 087776558899
 

Último (6)

Mobile App Penetration Testing Bsides312
Mobile App Penetration Testing Bsides312Mobile App Penetration Testing Bsides312
Mobile App Penetration Testing Bsides312
 
Mobile Application Development-Components and Layouts
Mobile Application Development-Components and LayoutsMobile Application Development-Components and Layouts
Mobile Application Development-Components and Layouts
 
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
 
Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...
Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...
Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...
 
Mobile Application Development-Android and It’s Tools
Mobile Application Development-Android and It’s ToolsMobile Application Development-Android and It’s Tools
Mobile Application Development-Android and It’s Tools
 
Android Application Components with Implementation & Examples
Android Application Components with Implementation & ExamplesAndroid Application Components with Implementation & Examples
Android Application Components with Implementation & Examples
 

Mobile Page Speed - SMX Munich 2015

  • 1. Making Mobile Super Fast By: Cindy Krum MobileMoxie SMX Munich, 2015
  • 2. Google Prefers Faster Websites – Especially for Mobile: (Currently Testing a New ‘Slow Tag’ in Mobile the SERP)
  • 3. Google Says They Prefer Responsive Web Design for Mobile:
  • 4. Google Says They Prefer Responsive Web Design for Mobile:
  • 5. The Problem is Most Developers Don’t Know How to Build a Fast Responsive Design Site: April 2014 Survey of 1,000 Responsive Design Sites
  • 6. The Problem is, Responsive Design is Hard to Make Fast: But…. Google Prefers Responsive Design But… Google Prefers Fast Mobile Pages
  • 7. Hurts Crawl Efficiency Fewer Pages are Indexed Slows the Crawler High Mobile Bounces High Site Abandonment Hurts UX The Problem is, Responsive Design is Hard to Make Fast:
  • 8. This Talk Will Cover: • Round Trip Requests & Critical Path Rendering • Image & CSS Optimization • Caching & Compression Opitimization
  • 10. Understanding Round Trip Requests for Mobile:
  • 11. Understanding Round Trip Requests for Mobile: Data Received Data Request Connection Request Data Transmission Acknowledgement
  • 12. Understanding Round Trip Requests for Mobile: Data Received Data Request Connection Request Data Transmission Acknowledgement Round Trip Requests # External Assets On the Page =
  • 13. Combine Elements to Reduce Round Trip Requests:
  • 14. Understanding Round Trip Requests for Mobile: Data Received Data Request Connection Request Data Transmission Acknowledgement Unique Object Count Object Size
  • 15. Understanding Round Trip Requests for Mobile: Data Received Data Request Connection Request Data Transmission Acknowledgement Google Says Each RTR = 200 Milliseconds for 3G/4G so… 65 RTRs = 13,000 Milliseconds = 13 Seconds Latency Unique Object Count Object Size
  • 16. Understanding Round Trip Requests for Mobile: Data Received Data Request Connection Request Data Transmission Acknowledgement
  • 17. And Blocking These Resources Will Only Hurt You The Only Way Google Can Accurately Tell if Your Site is Built in Responsive Design is if they can Crawl the JS and CSS. If CSS or JS Files You Control are Blocked, Google Might Not Consider You Mobile-Friendly.
  • 18. Combine Elements to Reduce Round Trip Requests:
  • 19. The Round Trips You are Forgetting About: Any External Links to Unused Style Sheets/Images/Scripts 301 Redirects Multi-Hop 301 Redirects 404 Page Requests Web Fonts Favicons Script Libraries (EX: Bootstrap)
  • 20. Other Things You are Forgetting About: Tool: Google PageSpeed Chrome Plugin
  • 21. Making Images Mobile Friendly - Sprites:
  • 22. Bad Sprite Hygiene Risks Extra Round Trips Please Don’t Do this with Your Sprites….
  • 23.
  • 24. Make Sprite Hygiene a Priority 1 Global Sprite for the Entire Site Sprites Are NOT Cachable so Keep the File Size Small 1 Sprite for Each Page Template Include the Template Name in the Sprite Name Use URI Valet to Review Sprites Twice a Year Click on the Links to Open the Sprite & See the Images it Holds Use SpriteMe to Find Opportunities for Consolidation Use Chrome Developer Tools to Find Un-Used Sprite Calls (Classes)
  • 25. Images Are Critical – Image Weight a Key Driver in Overall Page Weight:
  • 26. Images Are Critical – Image Weight a Key Driver in Overall Page Weight:
  • 27. Making Images Mobile Friendly – Image Servers:
  • 28. Making Images Mobile Friendly – Responsive Images: The picture element allows you to provide multiple sources of the same image at different resolutions so the browser can pick the image of the correct size based on the viewport size.
  • 29. Making Images Mobile Friendly – Responsive Images: The picture element allows you to provide multiple sources of the same image at different resolutions so the browser can pick the image of the correct size based on the viewport size.
  • 30. Making Images Mobile Friendly – Responsive Images: Simple Cropping: Basic implementation, uses the source element and different @media-queries to fetch the correct image for the device- screen. Grid System & Variable Width: This uses a mobile first approach with 5 breakpoint. It only loads images as each breakpoint matches. Variable width images with multiple responsive breakpoints & max-width EM sailing. Art Direction: If the screen is small and the image is scaled down, its details cannot be seen. Using "art direction" helps overcome this problem. Rotate/resize the window and the image presentation can change.
  • 32. Proxy Caching vs. Browser Caching: Browser Caching Proxy Caching
  • 33. Proxy Caching For Mobile: Internet Web Server Proxy Cache EX: Your ISP End User End User
  • 34. Caching & Compression – Browser Caching: Do This: • Specify a Freshness lifetime of a week or more – Without a Freshness Lifetime Set, Your Stuff Won’t Cache. • Remove Unnecessary Query Strings - Most Caching Bodies Won’t Cache items with a ‘?’ • Don’t Worry About Freshness if You are Changing File Names • Use Cache Validators to Ensure Freshness (ET Tags and/or Expiration Dates) • NOTE: Inline CSS & JS Won’t be Cached
  • 35. Compression & Minification gZip & Minify: JavaScript HTML CSS
  • 37.
  • 39. Thanks!! Cindy Krum CEO & Founder, MobileMoxie cindy@mobilemoxie.com @Suzzicks

Notas do Editor

  1. Tuesday, 11:30am – 25 minutes
  2. Trilbis April 2014 Study: http://marketingland.com/study-load-time-69-mobile-sites-deemed-unacceptable-81126
  3. Trilbis April 2014 Study: http://marketingland.com/study-load-time-69-mobile-sites-deemed-unacceptable-81126
  4. Trilbis April 2014 Study: http://marketingland.com/study-load-time-69-mobile-sites-deemed-unacceptable-81126
  5. http://www.dejean.com/mc/sitara/tech_snp-paper.html
  6. http://www.dejean.com/mc/sitara/tech_snp-paper.html
  7. http://www.dejean.com/mc/sitara/tech_snp-paper.html
  8. http://www.dejean.com/mc/sitara/tech_snp-paper.html
  9. http://www.dejean.com/mc/sitara/tech_snp-paper.html
  10. http://www.dejean.com/mc/sitara/tech_snp-paper.html
  11. http://www.dejean.com/mc/sitara/tech_snp-paper.html
  12. http://www.dejean.com/mc/sitara/tech_snp-paper.html
  13. Sprites won’t be crawled & Indexed as Images Base64 for Design IconsS
  14. Trilbis study – April 2014: http://marketingland.com/study-load-time-69-mobile-sites-deemed-unacceptable-81126
  15. Trilbis study – April 2014: http://marketingland.com/study-load-time-69-mobile-sites-deemed-unacceptable-81126
  16. http://usecases.responsiveimages.org/#art-direction
  17. http://responsiveimages.org/demos/
  18. Vary: Accept-Encoding is a setting that tells proxy servers like ISP’s that they should cache both the encoded and non-encoded versions of a request, so that they can serve whichever one is needed Include a Vary: User-Agent header as well as a Cache-Control: private header to make a redirect from www. to m. cachable
  19. gZip is set up in the htaccess file
  20. http://www.icntv.tv/en/archives/6985
  21. https://www.youtube.com/watch?v=Bzw8-ZLpwtw
  22. https://www.youtube.com/watch?v=Bzw8-ZLpwtw