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
350
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
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
Think Fast: Getting started with website performance
duncanjimbo
0
220
Other Decks in Technology
See All in Technology
slog.Handlerのよくある実装ミス
sakiengineer
4
150
COVESA VSSによる車両データモデルの標準化とAWS IoT FleetWiseの活用
osawa
1
290
Platform開発が先行する Platform Engineeringの違和感
kintotechdev
4
570
下手な強制、ダメ!絶対! 「ガードレール」を「檻」にさせない"ガバナンス"の取り方とは?
tsukaman
2
450
Function Body Macros で、SwiftUI の View に Accessibility Identifier を自動付与する/Function Body Macros: Autogenerate accessibility identifiers for SwiftUI Views
miichan
2
180
S3アクセス制御の設計ポイント
tommy0124
3
200
2025年になってもまだMySQLが好き
yoku0825
8
4.8k
DDD集約とサービスコンテキスト境界との関係性
pandayumi
3
280
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
9
73k
「どこから読む?」コードとカルチャーに最速で馴染むための実践ガイド
zozotech
PRO
0
450
生成AI時代のデータ基盤設計〜ペースレイヤリングで実現する高速開発と持続性〜 / Levtech Meetup_Session_2
sansan_randd
1
150
AI開発ツールCreateがAnythingになったよ
tendasato
0
130
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
Making Projects Easy
brettharned
117
6.4k
Thoughts on Productivity
jonyablonski
70
4.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Why Our Code Smells
bkeepers
PRO
339
57k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
Being A Developer After 40
akosma
90
590k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
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