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
Getting Started with Website Performance
Search
Duncan Jimbo
March 14, 2014
Technology
0
340
Getting Started with Website Performance
Slides from my presentation at STLUX 2014
Duncan Jimbo
March 14, 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
210
Signs of the times: What road signs taught me about web design
duncanjimbo
0
180
Challenges of Designing for a CMS
duncanjimbo
0
200
Think Fast: Getting started with website performance
duncanjimbo
0
220
Other Decks in Technology
See All in Technology
よく聞くけど使ったことないソフトウェアNo.1 KafkaとSnowflake
foursue
4
510
Amplify 🩷 Bedrock 〜生成AI入門〜
minorun365
PRO
8
720
Improve Your Development Workflow with Gemini Code Assist
meteatamel
0
130
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
1
360
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
2
400
Android Target SDK 35 (Android 15) 対応の概要
akkie76
0
160
IaCジェネレーターとBedrockで詳細設計書を生成してみた
tsukasa_ishimaru
4
890
GrafanaMeetup_AmazonManagedGrafanaのアクセス制御機能とマルチテナント環境下でのアクセス制御について
daitak
0
400
M5stackで使用できるpHセンサの開発
shinrinakamura
0
170
生成AIの変革の時代に、直近1年で直面した課題とその解決策
ktc_wada
0
650
Grafana x PagerDuty Better Together
jacopen
1
260
【NW X Security JAWS#3】L3-4:AWS環境のIPv6移行に向けて知っておきたいこと
shotashiratori
1
650
Featured
See All Featured
The Invisible Side of Design
smashingmag
294
49k
We Have a Design System, Now What?
morganepeng
43
6.8k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
The Cult of Friendly URLs
andyhume
74
5.7k
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
GraphQLとの向き合い方2022年版
quramy
33
12k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
33
6k
Building Applications with DynamoDB
mza
88
5.6k
Design by the Numbers
sachag
274
18k
The Power of CSS Pseudo Elements
geoffreycrofte
62
5k
Scaling GitHub
holman
457
140k
Fireside Chat
paigeccino
22
2.6k
Transcript
Website Performance STLUX 2014
Lead Front-End Developer at Manifest Digital @duncanjimbo
What is Performance?
Don’t ask me
“the delay perceived by a website visitor between an action
and a response”
Performance is part of the experience
Performance is your business
Effects of Poor Performance
Higher bounce rates Lower page views Lower engagement Lower conversion
rates Poor performance leads to:
A poorly performing site costs you money
“a 1 second delay in page load time equals 11%
fewer page views, a 16% decrease in customer satisfaction, and 7% loss in conversions” ! Source: Aberdeen Group
Nearly 60% of web users expect a website to load
on their mobile phone in 3 seconds or less. ! Source: 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. ! Source: Compuware/Equat!on Research
“What delighted users a few years ago is now an
expected baseline, the absence of which will frustrate users.” ! Philip Tellis, Geek at LogNormal
Where Things Really Stand Today
“The median top 500 e-commerce homepage takes 9.3 seconds to
load vs. 7.7 seconds a year ago.” ! Source: Web Performance Today
“The average webpage has gotten 31% fatter between 2013 and
2014.” ! Source: Web Performance Today
Improving your site’s performance
Project Planning
Make performance a goal in project documents.
Consider setting a performance budget
Removing important content to decrease page weight is NOT a
performance strategy.
Design (UX and Creative)
Design choices impact page speed
None
Don’t bet on a user’s connection speed
None
Front-End Development
“80-90% of the end-user response time is spent on the
front-end”
None
Make fewer resource requests
Every request is costly and slows down the loading of
the page.
None
At the time, viewing this page once would cost $22
on Verizon’s cheapest plan. ! Based on Verizon data plan costs as of April 2013
Minify and concatenate CSS and Javascript files
Optimize images and utilize image sprites
Average bytes per page by content type Source: HTTP Archive
The Curious Case of Benjamin Button
Load CSS before Javascript
Consider the effect of 3rd-party plugins
Other front-end tips and tricks Lazy load non-critical content Conditionally
load content for RWD Use subdomains to serve CSS and JS Use a CDN to deliver files/content
Back-End Development
Back-end tips and tricks Write efficient database queries Server-side caching
Fine-tune servers
Closing Thoughts
Thank You! @duncanjimbo