86. Proxies / Network sniffers
• Charles Proxy
• Fiddler
tools
Image from telerik fiddler
87. Connection simulators
• Network link conditioner (Mac/iOS)
• Charles Proxy
• Clumsy for Windows
• Net Limiter for Windows
• SlowyApp for Mac
• Chrome Developer Tools
tools
88. 3- tools
- Learn where to test
- Measure loading times
- Measure responsiveness
95. Network information API
• Android Browser, Silk (spec #1) type
• BlackBerry 10 (spec #2) bandwidth
• Firefox, Chrome 38+ (spec #3) type & events
• Chrome 47+ (spec #4) type & estimated bw
html5 apis
96. net info api
* Different specs available
Android
14%
Samsung
7%
Others
2%
Windows Phone
3%
UC Browser
3%
Opera
3%
InApp iOS
14%
Safari iOS8
10%
Safari iOS9
22%
Chrome
23%
125. Stop Signs
• Reduce redirects (100ms to 1s each)
(social networks have one or two)
• Don’t create custom app banners
• Don’t use client side rendering for first view
126. Stop Signs
• Reduce redirects (100ms to 1s each)
(social networks have one or two)
• Don’t create custom app banners
• Don’t use client side rendering for first view
HTTP/2
HTTP/2
HTTP/2
130. Responsive Web Design
• Using same URL still a good a idea
• Mix it with RESS / adaptive web design
• Load media queries CSS async
• Use server-side libraries
• WURFL or DeviceAtlas
147. CSS ASAP
• Don’t rely on media queries only
• Inline ATF CSS
• Load async the rest
• Push them on HTTP/2
• Use only one CSS file
148. CSS ASAP
• Don’t rely on media queries only
• Inline ATF CSS
• Load async the rest
• Push them on HTTP/2
• Use only one CSS file
HTTP/2
HTTP/2
HTTP/2
HTTP/2
HTTP/2
154. • Images are non-blocking by default
• Don’t use Data URI => blocking
• Responsive Images
• Remember HD/SD
• User SVG when possible
• New Formats: WebP, APNG
Image and UI
158. Careful with some design features
• GPU vs CPU repaint
• Important on scroll, transitions & animations
• Transforms and opacity GPU
• border-radius, gradients, shadows, filters CPU repaint
168. final thoughts
- measure and profile on the real world
- don’t redirect, reduce requests
- atf content in 1s, defer the rest
- be simple, be aggressive, be smart
169. you can reach a good experience
firtman@gmail.com
@firt
firt.mobi/hpmwfirt.mobi/mh5