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
Engineering Faster Web Experiences in Plain Sight
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Otemuyiwa Prosper
April 13, 2019
Programming
300
0
Share
Engineering Faster Web Experiences in Plain Sight
Otemuyiwa Prosper
April 13, 2019
More Decks by Otemuyiwa Prosper
See All by Otemuyiwa Prosper
A.I (Artificial Intelligence) for the rest of us
unicodeveloper
2
600
The Complete Guide to building In-App Notifications in Web Apps
unicodeveloper
0
340
The Golden Ticket: Becoming a Superstar & Impactful Open Source Contributor
unicodeveloper
0
160
Optimizing Developer Workflow with Sourcegraph
unicodeveloper
0
210
Code Search with Laravel and Sourcegraph
unicodeveloper
1
380
Lightning Talk - JAMStack
unicodeveloper
0
810
Authentication & Authorization in GraphQL
unicodeveloper
5
2.2k
Authentication & Authorization in Next.js
unicodeveloper
3
900
webpack 4: Lighting the fire
unicodeveloper
3
600
Other Decks in Programming
See All in Programming
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
120
Nuxt Server Components
wattanx
0
230
存在論的プログラミング: 時間と存在を記述する
koriym
5
750
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
330
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
130
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
120
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
280
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
180
Kubernetesでセルフホストが簡単なNewSQLを求めて / Seeking a NewSQL Database That's Simple to Self-Host on Kubernetes
nnaka2992
0
190
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
250
「速くなった気がする」をデータで疑う
senleaf24
0
130
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
300
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Everyday Curiosity
cassininazir
0
180
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
700
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
Building Adaptive Systems
keathley
44
3k
ラッコキーワード サービス紹介資料
rakko
1
2.9M
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
500
The Curse of the Amulet
leimatthew05
1
11k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
81
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
180
Transcript
ENGINEERING: WEB EXPERIENCES PROSPER OTEMUYIWA | forloop Zimbabwe, Harare 2019
FASTER ...in plain sight
Harare is Cold, Why is Lagos so hot?
VIBRANIUM OPEN SOURCERER @unicodeveloper
DEVELOPER ADVOCATE | COMMUNITY BUILDER forLoop Africa Laravel Nigeria Angular
Nigeria Webpack Africa
STEVE: SOUDERS Ex-Head Performance Engineer @ Google Ex-Chief Performance Officer
@ Yahoo! ..Inspired by
YOUR USERS NOW!
WHAT DO YOU NEED TO DO TO ENGINEER FAST LOADING
EXPERIENCES
Let’s go!
1. FEWER HTTP REQUESTS! The fewer the requests, the faster
content is served to the users.
- Webpack - Parcel TOOLS FOR MERGING
2. TAKE ADVANTAGE OF CDNS! ⚓ ..push assets to the
edge, use a content delivery network
3. Stylesheets at the top SCRIPTS at the bottom
4. Prefetch Resources Use Link tags to prefetch <link rel="prefetch"
href="/fonts/arial.ttf" as="font" crossorigin> <link rel="prerender" href="/next-page.html">
5. Minify Everything
#Bundle & Minify Everything ⚓ Just Webpack away!
6. Defer Scripts <script defer></script> - Defer heavy loading scripts
7. Have a font loading strategy
8. Code Splitting & Tree Shaking 1. Webpack 2. Rollup
3. Send less JavaScript to the user
How do you handle Images? Yourself???
9. Image & Files Handling ⚓ 1. Let a service
handle your images & files e.g Cloudinary 2. Compression of Images & Files 3. Progressive Image Rendering 4. Lazy Loading
speedcurve.com Chrome DevTools webspeedtest.cloudinary.com Tools for measuring speed? ⛷
Web speed - Image Analysis
Network/Performance Tab - Chrome DevTools
Speed Curve
Now, go forth & make your site fast
THANKS, ANY QUESTIONS? I’M EVERYWHERE GITHUB MEDIUM TWITTER @unicodeveloper CODEPEN