Top Banner
Maximizing your ROI on The Mobile Web +Ido Green @greenido ido-green.appspot.com
55
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 2: Maximizing your ROI on the mobile web

Pretty sure everyone in the room knows this

Page 3: Maximizing your ROI on the mobile web

Mobile Vs Desktop - Global Trends

Page 4: Maximizing your ROI on the mobile web

Google Confidential and Proprietary

Page 5: Maximizing your ROI on the mobile web

India in terms of mobile usage

Page 6: Maximizing your ROI on the mobile web

A unique country in terms of mobile usage

What is missing?

Page 7: Maximizing your ROI on the mobile web

A unique country in terms of mobile usage

Page 8: Maximizing your ROI on the mobile web

How do you make the most of this opportunity?

Page 9: Maximizing your ROI on the mobile web

Google Confidential and Proprietary

Page 10: Maximizing your ROI on the mobile web

1. PerformanceGet content to the user as quickly.Expected Vs Actual.

2. User Experience Optimize for the mobile device

(!) Pssst… there are more, but we are only covering two.

Key Principles

Page 11: Maximizing your ROI on the mobile web

Most sites fail at most of these!

Page 12: Maximizing your ROI on the mobile web

Performance Principles

Page 13: Maximizing your ROI on the mobile web

30 second page loadis normal in India

Page 14: Maximizing your ROI on the mobile web

This is bad

Page 15: Maximizing your ROI on the mobile web

1. Time to First Render

2. Time to Visually Complete

3. Time to Load Complete

3 Critical Performance Criteria

Page 16: Maximizing your ROI on the mobile web

First render in under 1 second

Page 17: Maximizing your ROI on the mobile web

Visually complete in under 3 seconds

Page 18: Maximizing your ROI on the mobile web

Fully loaded in under 3 seconds

Page 19: Maximizing your ROI on the mobile web

How can you help me?

- - Every Developer Ever

Page 21: Maximizing your ROI on the mobile web
Page 23: Maximizing your ROI on the mobile web

PSI >= 80 GOODPSI >= 65 < 80 OKPSI < 65 POOR

Page 24: Maximizing your ROI on the mobile web
Page 25: Maximizing your ROI on the mobile web
Page 26: Maximizing your ROI on the mobile web

SpeedIndex <= 1000 GOOD>= 1000 < 3000 OK>= 3000 POOR

Page 27: Maximizing your ROI on the mobile web

Aim for < 1 second

Page 28: Maximizing your ROI on the mobile web

Aim for < 3 second

Page 29: Maximizing your ROI on the mobile web

Aim for < 5 seconds

Page 30: Maximizing your ROI on the mobile web
Page 31: Maximizing your ROI on the mobile web

1. The minimal amount of information to display something on the screen

2. Any CSS or JS in the head blocksrendering until it has been downloaded

What is Critical Render Path?

Page 32: Maximizing your ROI on the mobile web

Rendering is blocked until all the CSS and JS is downloaded

What is Render Blocking CSS + JS

Page 33: Maximizing your ROI on the mobile web

How do I fix this?

- Every Developer Ever

Page 34: Maximizing your ROI on the mobile web

Each request to new domain requires:● DNS Lookup + TCP Connection● HTTP or HTTPS Connection new TCP Connection

Mobile 3g can add 300ms to each request.6 domains on CDN = up to 2.4 extra seconds to load the page

Don’t overuse domain sharding - CDNs

Page 35: Maximizing your ROI on the mobile web

Mobile 3g can add 300ms to each request RTT

Reduce the number of request

Page 36: Maximizing your ROI on the mobile web

Liberal use of Caching

Page 37: Maximizing your ROI on the mobile web

If your image size is larger than the screen size you are slowing down your site for no user benefit.

Compress all your images

Page 38: Maximizing your ROI on the mobile web

●CSS

● JS

●HTML

Minify and Compress everythingReduce the download time

Can save up to 50% of the bandwidth

Page 39: Maximizing your ROI on the mobile web

Make sure all widgets use the ‘async’ keyword

Stop using widgetsIf you want a really fast site

Page 40: Maximizing your ROI on the mobile web

● Requires a DNS lookup and TCP connect

­ At a minimum 300ms on 3g

● Cross platform sharing is problematic

● Content management is challenging

Don’t do www. -> m.Adopt responsive principles

Page 41: Maximizing your ROI on the mobile web

User Experience Principles

Page 42: Maximizing your ROI on the mobile web

India is in a good placefor mobileness

Page 43: Maximizing your ROI on the mobile web

PageSpeed Insights

Page 44: Maximizing your ROI on the mobile web

PSI >= 80 GOODPSI >= 65 < 80 OKPSI < 65 POOR

Page 45: Maximizing your ROI on the mobile web

● Build for Mobile (Viewport tag)

● Fit content to screen - RWD

● Make buttons clickable

● Make fonts readable

● Don’t use Plugins (i.e Flash)

5 Key Criteria

Page 46: Maximizing your ROI on the mobile web

25 principles

Page 47: Maximizing your ROI on the mobile web

SiteSearch

Commerceand

Conversions

OptimizingFormEntry

Site-wideDesign

Considerations

Homepage and

Navigation

Page 48: Maximizing your ROI on the mobile web

Resources

Page 51: Maximizing your ROI on the mobile web

https://developers.google.com/web/starter-kit

Page 52: Maximizing your ROI on the mobile web

HTML5Rocks

www.html5rocks.com/

Page 53: Maximizing your ROI on the mobile web

PageSpeed Insights

developers.google.com/speed/pagespeed/insights/