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
240
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Draw a page with SPA
By May
Buzzvil
May 12, 2021
More Decks by Buzzvil
See All by Buzzvil
220903_GFS
buzzvil
0
640
Git 해부하기 2 + 3
buzzvil
0
68
Metastable Failure
buzzvil
0
360
Git 해부하기
buzzvil
0
84
Introduction to Plate Solving
buzzvil
0
74
Airbnb Minerva
buzzvil
0
510
Shape up 방법론
buzzvil
0
1.1k
Buzzvil Billing Data Pipeline
buzzvil
0
720
Journey of Dash's release-cycle
buzzvil
0
270
Other Decks in Programming
See All in Programming
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
390
AI時代のUIはどこへ行く?その2!
yusukebe
21
7k
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
110
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
6.5k
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
190
LLM Plugin for Node-REDの利用方法と開発について
404background
0
170
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.3k
Oxcを導入して開発体験が向上した話
yug1224
4
310
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
130
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
330
Modding RubyKaigi for Myself
yui_knk
0
920
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
0
220
Featured
See All Featured
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
So, you think you're a good person
axbom
PRO
2
2.1k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
330
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
230
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
The agentic SEO stack - context over prompts
schlessera
0
810
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
130
Statistics for Hackers
jakevdp
799
230k
Un-Boring Meetings
codingconduct
0
310
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