A Billion Phones and Even More People Optimizing the web for the next billion
Slide 2
Keerthana Krishnan ● Baker Hughes, a GE CompanyBaker Hughes, a GE Company ● Full Stack Web Developer ● Based in Cochin, India
Slide 3
Why do we need performance? Fast applications = Happy users
Slide 4
Where do users come from? China - 1400M India - 1300M - (45%p) - 627M users USA - 325M - (84%p) - 275M users
Slide 5
Data last collected in 2016
87 80 75
24
22
Source: World Bank
Slide 6
Why do we need this? ▶ Market saturation of technical products in the first world ▶ Larger number of users getting access to the internet ▶ Basically, access to larger number of people who use your services
Slide 7
Finding the right balance Performance <-> Accessibility <-> User Experience
Slide 8
Story #1 Internationalization The easiest barrier
Slide 9
Slide 10
Slide 11
Case #1 – Uber ▶ Imagine a user in India/ Ghana/ Kenya/ Nigeria for Uber who is NOT a native English speaker ▶ Enabling native languages improves access to users from diverse regions
Slide 12
Improving internationalization ▶ Use HTML lang code <html lang=”en-US”> … </html> ▶ Use universal icons/ images/ sounds (non-written/ language agnostic communications) https://assets.kpmg/content/dam/kpmg/in/pdf/2018/05/IndiaTrends2018-Trends-shaping-Digital-India-Internet.pdf
Slide 13
Story #2 - Handling real world devices Going beyond the iPhone
Slide 14
A family of mobile devices
grandpa
mom
dad
Slide 15
Hardware is created UNEQUAL ▶ Can your website handle the sizes and shapes? ▶ Cracked screens, cramped spaces – places where your CSS quick fixes come to die
Slide 16
Mobiles with less than 2GB RAM vs.
your website built with the latest & coolest JS frameworks =
LOADING.GIF (for a long time)
Slide 17
Story #3 – Oh no, the Wi-fi! Handling a narrow bandwidth
Slide 18
WiFi in India - A closer look ▶ Wifi definition - 10 Mbps to 300 Mbps ▶ Actual average connection speed 3.465 Mbps
Source : https://www.webworldwide.io/country/india
Slide 19
How does your website perform in 3G, 2G, H+, … If loading > 2s, user interest plummets
Slide 20
Test your website on CRAPPy phones with SLOW speeds!! Have a fall back for bad specs
Slide 21
How can I simplify my website? ▶ Min. number of downloads on first click ▶ Pre-loading parts of the websites ▶ Optimizing video usage ▶ Use svg(s) - get Drasnered today!
Slide 22
Bonus point for UX! Adding a little extra for your users
Slide 23
Slide 24
Create a demo mode! ▶ Have a help setting that explains the major moving parts ▶ Use Arrows, icons and more to help users navigate your product
Slide 25
In summary … ▶ Internationalization of your website ▶ Optimize for non standard aspect ratios ▶ Fall backs for slow internet