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
Draw a page with SPA
Search
Buzzvil
May 12, 2021
Programming
0
220
Draw a page with SPA
By May
Buzzvil
May 12, 2021
Tweet
Share
More Decks by Buzzvil
See All by Buzzvil
220903_GFS
buzzvil
0
490
Git 해부하기 2 + 3
buzzvil
0
42
Metastable Failure
buzzvil
0
250
Git 해부하기
buzzvil
0
55
Introduction to Plate Solving
buzzvil
0
43
Airbnb Minerva
buzzvil
0
350
Shape up 방법론
buzzvil
0
970
Buzzvil Billing Data Pipeline
buzzvil
0
580
Journey of Dash's release-cycle
buzzvil
0
200
Other Decks in Programming
See All in Programming
高度なUI/UXこそHotwireで作ろう Kaigi on Rails 2025
naofumi
4
3.6k
After go func(): Goroutines Through a Beginner’s Eye
97vaibhav
0
240
アメ車でサンノゼを走ってきたよ!
s_shimotori
0
200
iOSアプリの信頼性を向上させる取り組み/ios-app-improve-reliability
shino8rayu9
0
160
Reduxモダナイズ 〜コードのモダン化を通して、将来のライブラリ移行に備える〜
pvcresin
2
690
2分台で1500examples完走!爆速CIを支える環境構築術 - Kaigi on Rails 2025
falcon8823
3
3.4k
Building, Deploying, and Monitoring Ruby Web Applications with Falcon (Kaigi on Rails 2025)
ioquatix
2
680
WebエンジニアがSwiftをブラウザで動かすプレイグラウンドを作ってみた
ohmori_yusuke
0
170
Model Pollution
hschwentner
1
190
Signals & Resource API in Angular: 3 Effective Rules for Your Architecture @BASTA 2025 in Mainz
manfredsteyer
PRO
0
110
CI_CD「健康診断」のススメ。現場でのボトルネック特定から、健康診断を通じた組織的な改善手法
teamlab
PRO
0
190
GraphQL×Railsアプリのデータベース負荷分散 - 月間3,000万人利用サービスを無停止で
koxya
1
1.2k
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
Agile that works and the tools we love
rasmusluckow
331
21k
Being A Developer After 40
akosma
91
590k
Music & Morning Musume
bryan
46
6.8k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Visualization
eitanlees
148
16k
Code Reviewing Like a Champion
maltzj
525
40k
Designing for Performance
lara
610
69k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Transcript
Copyright ⓒ All Right Reserved by Buzzvil Draw a page
w/SPA! Ad Product Team May Min 2021.05.12 Server Side Rendering & Client Side Rendering
Copyright ⓒ All Right Reserved by Buzzvil Terms SPA SSR
CSR TTFB FP FCP TTI
Copyright ⓒ All Right Reserved by Buzzvil Terms SPA: Single
Page Application SSR: Server Side Rendering CSR: Client Side Rendering TTFB: Time to First Byte FP: First Paint FCP: First Contentful Paint TTI: Time to Interactive
Copyright ⓒ All Right Reserved by Buzzvil SPA? Single Page
Application multiple pages on one page!
Copyright ⓒ All Right Reserved by Buzzvil SPA? Single Page
Application multiple pages on one page!
Copyright ⓒ All Right Reserved by Buzzvil Rendering History
Copyright ⓒ All Right Reserved by Buzzvil Rendering?
Copyright ⓒ All Right Reserved by Buzzvil Rendering? HTML CSS
JavaScript DOM CSSOM Render Tree Layout Paint Composite
Copyright ⓒ All Right Reserved by Buzzvil Static Rendering? (1990s)
Static Rendering CSS + JS + HTML => Ready to render HTML Client: Request Page! Sever: Respond Page!
Copyright ⓒ All Right Reserved by Buzzvil Era of Mobile:
Limitation of Static Rendering ~Page 1 w/SSR~ Client: Request Page! Sever: Respond Page! ~Page 2 w/SSR~ Client: Request Page! Sever: Respond Page!
Copyright ⓒ All Right Reserved by Buzzvil Era of Mobile:
Limitation of Static Rendering ios, aos: I need to use native UI
Copyright ⓒ All Right Reserved by Buzzvil Ajax (2005)
Copyright ⓒ All Right Reserved by Buzzvil Ajax? Asynchronous Javascript
and Xml
Copyright ⓒ All Right Reserved by Buzzvil Ajax? Asynchronous Javascript
and Xml XML CSV JSON ...
Copyright ⓒ All Right Reserved by Buzzvil SPA! Single Page
Application Fetching data seamlessly!
Copyright ⓒ All Right Reserved by Buzzvil SPA! Single Page
Application Fetching data seamlessly!
Copyright ⓒ All Right Reserved by Buzzvil SPA! Single Page
Application Fetching data seamlessly!
Copyright ⓒ All Right Reserved by Buzzvil SPA! Single Page
Application Fetching data seamlessly!
Copyright ⓒ All Right Reserved by Buzzvil SPA! Single Page
Application Fetching data seamlessly!
Copyright ⓒ All Right Reserved by Buzzvil SPA! Single Page
Application Fetching data seamlessly!
Copyright ⓒ All Right Reserved by Buzzvil What makes (
) possible? Module bundler. like Webpack. &
Copyright ⓒ All Right Reserved by Buzzvil CSR? Client Side
Rendering HTML Client: Browser do every rendering! (All logic, data fetching, templating and routing) Sever: Respond API call! CSS JS
Copyright ⓒ All Right Reserved by Buzzvil CSR, meaningless first
TTFB <div id=root />
Copyright ⓒ All Right Reserved by Buzzvil CSR, TTI >>>
FCP ? undefined
Copyright ⓒ All Right Reserved by Buzzvil CSR, bad SEO
?
Copyright ⓒ All Right Reserved by Buzzvil SSR? Server Side
Rendering CSS + JS + HTML => Ready to render HTML Client: Request Page! Sever: Respond Page!
Copyright ⓒ All Right Reserved by Buzzvil SSR, Flickering Server
Side Rendering Flickering issue!
Copyright ⓒ All Right Reserved by Buzzvil SSR, Flickering Server
Side Rendering Flickering issue!
Copyright ⓒ All Right Reserved by Buzzvil SSR, Flickering Server
Side Rendering Flickering issue!
Copyright ⓒ All Right Reserved by Buzzvil SSR, Slow TTFB
Server Side Rendering
Copyright ⓒ All Right Reserved by Buzzvil from SSR to
CSR https://developers.google.com/web/updates/2019/02/rendering-on-the-web
Copyright ⓒ All Right Reserved by Buzzvil Thank you Ad
Product Team May Min 2021.05.12