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
560
Git 해부하기 2 + 3
buzzvil
0
54
Metastable Failure
buzzvil
0
280
Git 해부하기
buzzvil
0
68
Introduction to Plate Solving
buzzvil
0
57
Airbnb Minerva
buzzvil
0
420
Shape up 방법론
buzzvil
0
1k
Buzzvil Billing Data Pipeline
buzzvil
0
650
Journey of Dash's release-cycle
buzzvil
0
220
Other Decks in Programming
See All in Programming
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
720
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
430
MUSUBIXとは
nahisaho
0
130
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
AI時代の認知負荷との向き合い方
optfit
0
160
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
460
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
450
Featured
See All Featured
The browser strikes back
jonoalderson
0
370
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
Marketing to machines
jonoalderson
1
4.6k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
140
The SEO Collaboration Effect
kristinabergwall1
0
350
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
910
HDC tutorial
michielstock
1
370
Six Lessons from altMBA
skipperchong
29
4.1k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
310
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Building Adaptive Systems
keathley
44
2.9k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
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