SlideShare a Scribd company logo
PicturefromSimonHowdenfreedigitalphotos.net!
Picture from Simon Howden freedigitalphotos.net!
high
performance
web
Maximiliano Firtman
@firt
mobile+web developer & trainer
High Performance Web - Full Stack Toronto
trainer
High Performance Web - Full Stack Toronto
Original Books
Translations I
don’t really
understand
High Performance Web - Full Stack Toronto
Let’s start with data
500ms delay, 

+26% user’s frustration
Source: Radware
:(
500ms delay, 

-20% Google’s traffic
1	http://home.blarg.net/~glinden/StanfordDataMining.2006-1
:(
+100ms delay, 

-1% Amazon’s sales
1	http://home.blarg.net/~glinden/StanfordDataMining.2006-1
:(
-2.2s page load, 

+15% downloads
Source: Firefox
:)
+60% faster, 

+14% donations ($$$)
Source: Obama Campaign
:)
Site speed in search rank
Screen shot of blog post
…we’ve decided to take site
speed into account in our
search rankings
googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-
search-ranking.html
Web Performance
Optimization
where to optimize?
server frontend development
Top 100,000 sites
Perception and Goals
immediate feedback
100ms
Jakob Nielsen - Usability Engineering
losing user’s flow of
thoughts 1s
Jakob Nielsen - Usability Engineering
Source: Google Developers
RAIL
100ms
RAIL
100ms 16ms
RAIL
100ms 16ms 50ms
RAIL
100ms 16ms 50ms 1s
RAIL
The Web today
Desktop and Mobile
Chrome, Firefox,
Edge, IE
iOS and Android
Safari and Chrome?
Browsers only?
High Performance Web - Full Stack Toronto
High Performance Web - Full Stack Toronto
web view browsing
Web View
25%
Browser
75%
Source: MOVR Report
Let’s see some data
Others
10%
iOS
45%
Android
45%
iOS
45%
Safari
100% ?
Apps (WebView)
25%
Safari
75%
iOS
45%
Others
10%
iOS
45%
Android
45%
Android
45%
Browser
33%
Chrome
67%
Android
45%
High Performance Web - Full Stack Toronto
High Performance Web - Full Stack Toronto
High Performance Web - Full Stack Toronto
High Performance Web - Full Stack Toronto
Opera
3%
UC Browser
3%
BB
4%
Samsung
11%
Chrome
37%
Safari
42%
Cellular
Networks
4G is here! We shouldn’t worry
about performance anymore...
(
)
High Performance Web - Full Stack Toronto
50% of users are on 2G networks
only 21% has 4G Worldwide
~30% of the time 4G not used
Bandwidth (Mbps)
0 3.5 7 10.5 14
2G 3G Wifi 4G
2G
3G
4G
Home
0 250 500 750 1000
Min Max
Latency
2G
3G
4G
Home
0 250 500 750 1000
Min Max
Latency
latency
request
bandwidth
Responsive Web
Design
Mobile websites are
the past, right?
High Performance Web - Full Stack Toronto
High Performance Web - Full Stack Toronto
Responsive Web Design
as a goal
High Performance Web - Full Stack Toronto
High Performance Web - Full Stack Toronto
who said that?
Your goal is more
conversions
responsive ->
+conversion?
Usability
Speed
Accessibility
RWD is a tool
RWD is not a goal
Wait! Google will penalize
non-responsive websites…
(
)
Mmm….
NOT REALLY
RESPONSIVE WEB
DESIGN
is the future
I’m not advocating for
m.*
High Performance Web - Full Stack Toronto
Don’t penalize your
mobile users
Responsive Web Design
is a GREAT TOOL
High Performance Web - Full Stack Toronto
High Performance Web - Full Stack Toronto
Show me how to
perform better!
Basic Tips
Consider moving to
HTTP/2


#PERFTIP TLS
only
Reduce redirects


#PERFTIP
• Consume 100ms to 1s each
• Social networks will use one
Remover App Banners


#PERFTIP
High Performance Web - Full Stack Toronto
idontwantyourfuckingapp.tumblr.com
Avoid Client Side
Rendering

• Reduces in 5x page load performance
• Embrace plain HTML for initial loading
#PERFTIP
CSS as appetizer


#PERFTIP
JavaScript as dessert


#PERFTIP
• Use non-blocking JavaScript
Use Responsive Images


#PERFTIP
• Deliver the right image to the current device
• srcset and <picture>
High Performance Web - Full Stack Toronto
Use SVG


#PERFTIP
#PERFTIP
Careful with Web Fonts


#PERFTIP
Extreme tips
Load the page in

1 second

#PERFTIP
ATF content in

1 second


#PERFTIP
We need to separate
ABOVE THE FOLD
(ATF)
ATF in 1 second


#PERFTIP
14Kb packet


#PERFTIP
14Kb packet

• HTML, embedded CSS, embedded JavaScript
• Images?
Reevaluate RWD usage
#PERFTIP
Alternative compression
• Zopfli (over Gzip or deflate)
#PERFTIP
•+8% compression ratio
• Brotli +25% compression ratio
#PERFTIP TLS
only
Alternative compression
Alternative Image
Formats
• PNG with Zopfli (-8%)
• WebP (-35%)
• JPEG-HDR (-30%)
• BPG (-50/-70%)
#PERFTIP
Service Workers
• Cache Storage API
• Offline Experience
• Immediate loading experience
#PERFTIP
Upgrading to a
Progressive Web App
• Uses Service Workers
• Performance is a key
#PERFTIP
AMP
High Performance Web - Full Stack Toronto
AMP-HTML
High Performance Web - Full Stack Toronto
High Performance Web - Full Stack Toronto
High Performance Web - Full Stack Toronto
High Performance Web - Full Stack Toronto
Consider creating AMP
content
• Alternative vs. Replacement
• Where responsive comes?
#PERFTIP
ure from Simon Howden freedigitalphotos.net!
uf! we've
covered a
lot!
• Performance -> conversion
• Perception Goals
• Understanding Mobile
• Basic Optimizations
• Extreme Optimizations
oreilly.com/ideas/mobile-web-performance-checklist
Phoo from freefoto.com
firtman@gmail.com
@firt
firt.mobi/hpmw

More Related Content

PDF
Responsive Images and Performance
PDF
Extreme Web Performance for Mobile Devices
PDF
The Physical World meets the Web
PDF
Extreme Web Performance for Mobile Device Fluent 2015
PDF
Extreme Web Performance for Mobile Devices - Velocity Barcelona 2014
PDF
Performance.now() fast but not furious
PPTX
Make JavaScript Faster
PDF
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
Responsive Images and Performance
Extreme Web Performance for Mobile Devices
The Physical World meets the Web
Extreme Web Performance for Mobile Device Fluent 2015
Extreme Web Performance for Mobile Devices - Velocity Barcelona 2014
Performance.now() fast but not furious
Make JavaScript Faster
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...

What's hot (20)

PDF
Extreme Web Performance for Mobile Devices - Velocity NY
KEY
Developing High Performance Web Apps - CodeMash 2011
PPTX
Velocity 2013: Extreme Image Optimization
PPTX
Great Lakes Area .Net UG: Optimize .Net Azure App Services
PDF
High Performance Web Design
PDF
Progressive Web App Challenges
PPTX
How I learned to stop worrying and love UX metrics
PPTX
Quantifying The Mobile Difference
PDF
Mobile Web Speed Bumps
PDF
Measuring Web Performance (HighEdWeb FL Edition)
PDF
AMP - Accelerated Mobile Pages
PDF
Happy Browser, Happy User! NY Web Performance Meetup 9/20/19
POTX
Its timetostopstalling limerick
PDF
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
PDF
2017 Silicon Valley Code Camp: Instant Mobile Web
PPTX
Imagesandvideo stockholm webmeetup
PPTX
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
PDF
The Case for HTTP/2 - EpicFEL Sept 2015
PPTX
Imagesandvideo tallinn
PPTX
Imagesandvideo stockholm fastandbeautiful
Extreme Web Performance for Mobile Devices - Velocity NY
Developing High Performance Web Apps - CodeMash 2011
Velocity 2013: Extreme Image Optimization
Great Lakes Area .Net UG: Optimize .Net Azure App Services
High Performance Web Design
Progressive Web App Challenges
How I learned to stop worrying and love UX metrics
Quantifying The Mobile Difference
Mobile Web Speed Bumps
Measuring Web Performance (HighEdWeb FL Edition)
AMP - Accelerated Mobile Pages
Happy Browser, Happy User! NY Web Performance Meetup 9/20/19
Its timetostopstalling limerick
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
2017 Silicon Valley Code Camp: Instant Mobile Web
Imagesandvideo stockholm webmeetup
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
The Case for HTTP/2 - EpicFEL Sept 2015
Imagesandvideo tallinn
Imagesandvideo stockholm fastandbeautiful
Ad

Viewers also liked (20)

PDF
La Web Salta al Mundo Físico - Web meets Physical World (spanish)
PDF
Progressive Web Apps (español - spanish)
PDF
Hacking Web Performance @ ForwardJS 2017
PDF
Flow: A living full-stack framework for the web
PDF
Full Stack Web Application Performance Tuning
PPTX
Lộ trình phát triển của Full Stack Developer
PPTX
Full-stack Web Development with MongoDB, Node.js and AWS
PDF
Bloc's Full Stack Web Development Info Session, April 2015
PDF
6acfbd164b5fb1607d886eaa50548962 fswd-big_picture
PPTX
EF Core (RC2)
PPTX
What's New in WCF 4.5
PPTX
Powershell For Developers
PPTX
The Essentials of Building Cloud-Based Web Apps with Azure
PPTX
Debugging the Web with Fiddler
PPTX
ASP.NET Core 1.0
PPTX
Production debugging web applications
PPTX
Client Side Performance for Back End Developers - Camb Expert Talks, Nov 2016
PDF
A better CSS: Sass and Less - CC FE & UX
PDF
Give Responsive Design a Mobile Performance Boost
PDF
Sencha Space review
La Web Salta al Mundo Físico - Web meets Physical World (spanish)
Progressive Web Apps (español - spanish)
Hacking Web Performance @ ForwardJS 2017
Flow: A living full-stack framework for the web
Full Stack Web Application Performance Tuning
Lộ trình phát triển của Full Stack Developer
Full-stack Web Development with MongoDB, Node.js and AWS
Bloc's Full Stack Web Development Info Session, April 2015
6acfbd164b5fb1607d886eaa50548962 fswd-big_picture
EF Core (RC2)
What's New in WCF 4.5
Powershell For Developers
The Essentials of Building Cloud-Based Web Apps with Azure
Debugging the Web with Fiddler
ASP.NET Core 1.0
Production debugging web applications
Client Side Performance for Back End Developers - Camb Expert Talks, Nov 2016
A better CSS: Sass and Less - CC FE & UX
Give Responsive Design a Mobile Performance Boost
Sencha Space review
Ad

Similar to High Performance Web - Full Stack Toronto (20)

PDF
Hacking Web Performance 2019
PDF
Hacking Web Performance
PDF
The need for Speed: Advanced #webperf - SEOday 2018
PDF
Hacking Web Performance
PDF
Improving frontend performance
PPTX
10 things you can do to speed up your web app today stir trek edition
PDF
Web Performance Optimisation
PDF
Speed Matters!
PDF
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
PDF
Super speed around the globe - SearchLeeds 2018
PDF
Staying in the fast lane - tools to keep your site speedy and light
PDF
The web is too slow
PDF
Web Performance in the Age of HTTP2 - Topconf Tallinn 2016 - Holger Bartel
PDF
Optimizing web performance (Fronteers edition)
PDF
Responsive Responsive Design
PDF
Extreme Web Performance for Mobile Devices
PDF
Designing for Speed How to Build Fast-Loading Sites That Users (and Google) L...
PDF
20 tips for website performance
PPTX
How to improve your website performance
PDF
Mobile Web Performance - Getting and Staying Fast
Hacking Web Performance 2019
Hacking Web Performance
The need for Speed: Advanced #webperf - SEOday 2018
Hacking Web Performance
Improving frontend performance
10 things you can do to speed up your web app today stir trek edition
Web Performance Optimisation
Speed Matters!
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
Super speed around the globe - SearchLeeds 2018
Staying in the fast lane - tools to keep your site speedy and light
The web is too slow
Web Performance in the Age of HTTP2 - Topconf Tallinn 2016 - Holger Bartel
Optimizing web performance (Fronteers edition)
Responsive Responsive Design
Extreme Web Performance for Mobile Devices
Designing for Speed How to Build Fast-Loading Sites That Users (and Google) L...
20 tips for website performance
How to improve your website performance
Mobile Web Performance - Getting and Staying Fast

More from Maximiliano Firtman (17)

PDF
Unlocking Generative AI in your Web Apps
PDF
ChatGPT and AI for Web Developers
PDF
PWA Cheat Sheet 2023
PDF
Hacking Web Performance en Español - JSConf México 2020
PDF
The modern PWA Cheat Sheet
PDF
Progressive Web Apps Keynote
PDF
Uncovering Secrets of Progressive Web Apps
PDF
Modeveast Keynote: "Mobile. Change is the only constant"
PDF
FINHTML5 - Breaking the mobile web
PDF
Breaking Limits on Mobile HTML5 - TopConf Tallinn
PDF
Gearing Up Google Glass Development - August 2013
PDF
Tucuman valley Desarrollo Mobile, nativo o HTML5?
PDF
JSConf - Mobile HTML5
PDF
Breaking HTML5 limits with Mobile JavaScript
PDF
PhoneGap mobile development
PDF
jQuery Mobile
Unlocking Generative AI in your Web Apps
ChatGPT and AI for Web Developers
PWA Cheat Sheet 2023
Hacking Web Performance en Español - JSConf México 2020
The modern PWA Cheat Sheet
Progressive Web Apps Keynote
Uncovering Secrets of Progressive Web Apps
Modeveast Keynote: "Mobile. Change is the only constant"
FINHTML5 - Breaking the mobile web
Breaking Limits on Mobile HTML5 - TopConf Tallinn
Gearing Up Google Glass Development - August 2013
Tucuman valley Desarrollo Mobile, nativo o HTML5?
JSConf - Mobile HTML5
Breaking HTML5 limits with Mobile JavaScript
PhoneGap mobile development
jQuery Mobile

Recently uploaded (20)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Approach and Philosophy of On baking technology
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Spectral efficient network and resource selection model in 5G networks
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Machine learning based COVID-19 study performance prediction
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
cuic standard and advanced reporting.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Approach and Philosophy of On baking technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Spectral efficient network and resource selection model in 5G networks
“AI and Expert System Decision Support & Business Intelligence Systems”
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Machine learning based COVID-19 study performance prediction
Mobile App Security Testing_ A Comprehensive Guide.pdf
Unlocking AI with Model Context Protocol (MCP)
Understanding_Digital_Forensics_Presentation.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Encapsulation_ Review paper, used for researhc scholars
Review of recent advances in non-invasive hemoglobin estimation
Advanced methodologies resolving dimensionality complications for autism neur...
Chapter 3 Spatial Domain Image Processing.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
cuic standard and advanced reporting.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf

High Performance Web - Full Stack Toronto