Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Think Fast: Getting started with website perfor...
Search
Duncan Jimbo
September 26, 2014
Programming
0
220
Think Fast: Getting started with website performance
This is my presentation at Little Rock Tech Fest held in beautiful Little Rock, AR.
Duncan Jimbo
September 26, 2014
Tweet
Share
More Decks by Duncan Jimbo
See All by Duncan Jimbo
Signs of the times: What road signs taught me about web design
duncanjimbo
0
220
Signs of the times: What road signs taught me about web design
duncanjimbo
0
190
Challenges of Designing for a CMS
duncanjimbo
0
210
Getting Started with Website Performance
duncanjimbo
0
350
Other Decks in Programming
See All in Programming
Introduce Hono CLI
yusukebe
6
3k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
360
他言語経験者が Golangci-lint を最初のコーディングメンターにした話 / How Golangci-lint Became My First Coding Mentor: A Story from a Polyglot Programmer
uma31
0
320
コード生成なしでモック処理を実現!ovechkin-dm/mockioで学ぶメタプログラミング
qualiarts
0
230
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
830
大規模アプリのDIフレームワーク刷新戦略 ~過去最大規模の並行開発を止めずにアプリ全体に導入するまで~
mot_techtalk
1
470
Go言語はstack overflowの夢を見るか?
logica0419
0
510
CSC509 Lecture 05
javiergs
PRO
0
310
Flutterで分数(Fraction)を表示する方法
koukimiura
0
140
PHPに関数型の魂を宿す〜PHP 8.5 で実現する堅牢なコードとは〜 #phpcon_hiroshima / phpcon-hiroshima-2025
shogogg
1
320
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
180
Devoxx BE - Local Development in the AI Era
kdubois
0
130
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
61k
Making Projects Easy
brettharned
120
6.4k
The Cult of Friendly URLs
andyhume
79
6.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Building a Modern Day E-commerce SEO Strategy
aleyda
44
7.8k
How to Ace a Technical Interview
jacobian
280
24k
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
Music & Morning Musume
bryan
46
6.9k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
Being A Developer After 40
akosma
91
590k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Transcript
Think Fast Getting started with website performance in the age
of RWD
Think Fast Getting started with website performance in the age
of RWD
Front-End Developer @duncanjimbo
None
None
WHAT IS PERFORMANCE?
“The delay perceived by a website visitor between an action
and a response”
PERFORMANCE IS PART OF THE EXPERIENCE
PERFORMANCE IS NOT JUST THE RESPONSIBILITY OF DEVELOPERS
PERFORMANCE IS YOUR BUSINESS
EFFECTS OF POOR PERFORMANCE
HIGH BOUNCE RATES
LOWER PAGE VIEWS
LOWER ENGAGEMENT
LOWER CONVERSION RATES
A SLOW SITE COSTS YOU MONEY
BY THE NUMBERS
Aberdeen Group “a 1 second delay in page load time
equals 11% fewer page views, a 16% decrease in customer satisfaction, and 7% loss in conversions”
Compuware/Equat!on Research “Nearly 60% of web users expect a website
to load on their mobile phone in 3 seconds or less.”
Compuware/Equat!on Research “71% of mobile users expected web pages to
be as fast or faster than on a desktop - up from 58% in 2009.”
Philip Tellis, Geek at LogNormal “What delighted users a few
years ago is now an expected baseline, the absence of which will frustrate users.”
WHERE THINGS ACTUALLY STAND
Web Performance Today “The median top 500 e-commerce homepage takes
9.3 seconds to load vs. 7.7 seconds a year ago.”
Web Performance Today “The average webpage has gotten 31% fatter
between 2013 and 2014.”
IMPROVING PERFORMANCE
MAKE PERFORMANCE A GOAL IN PROJECT DOCUMENTS
SET A PERFORMANCE BUDGET
“Removing important content to decrease page weight is not a
performance strategy”
DESIGN CHOICES IMPACT PAGE SPEED
None
DON’T BET ON A USER’S CONNECTION SPEED
None
PIZZA!
None
MAKE FEWER RESOURCE REQUESTS
None
At the time, viewing this page once would have cost
$22 on Verizon’s cheapest plan Based on Verizon data plan costs as of April 2013
MINIFY & CONCATENATE FILES
OPTIMIZE IMAGES
Average bytes per page by content
LOAD CSS BEFORE JAVASCRIPT
CONSIDER YOUR APPROACH WITH THIRD-PARTY SCRIPTS
LAZY LOAD IMAGES
CONDITIONALLY LOAD CONTENT USING MEDIA QUERIES
BE EFFICIENT WITH DATABASE QUERIES
USE CACHING EFFECTIVELY
FINE-TUNE YOUR SERVERS
CULTURE OF PERFORMANCE
PERFORMANCE IS A JOURNEY, NOT A GOAL
THANK YOU @duncanjimbo http://simplydano.com/lrtf