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
The State of Angular Deployment, SSR, and Prerendering, ng-conf keynote
Search
Minko Gechev
April 03, 2020
Programming
2
2.7k
The State of Angular Deployment, SSR, and Prerendering, ng-conf keynote
Minko Gechev
April 03, 2020
Tweet
Share
More Decks by Minko Gechev
See All by Minko Gechev
Change the World With Open Source Software
mgechev
0
86
Fast Angular Apps from End to End
mgechev
0
120
The State of Angular
mgechev
1
160
The State of Angular
mgechev
1
220
Software Engineering as a Superpower
mgechev
1
120
Introduction to Angular
mgechev
1
120
Internals of the Angular CLI
mgechev
2
1.1k
The State of Angular
mgechev
1
130
The Future of the Front-End Frameworks
mgechev
2
270
Other Decks in Programming
See All in Programming
Code Reviews
bkuhlmann
4
890
Hanami and htmx
bkuhlmann
0
210
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
270
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
1k
Elm 0.19.0 Changes
bkuhlmann
0
490
Anthropic Cookbook のおすすめレシピ
schroneko
7
980
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
210
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
230
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
[技育CAMPアカデミア]アイディアを形に!【超入門】スマホアプリ開発〜リリースまでの流れをご紹介
teamlab
PRO
0
380
Fast JSX: Don't clone props object #28768
yossydev
1
120
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
17
6.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
116
18k
How STYLIGHT went responsive
nonsquared
92
4.8k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
14
1.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
659
120k
Agile that works and the tools we love
rasmusluckow
325
20k
4 Signs Your Business is Dying
shpigford
175
21k
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
37
2.5k
What's new in Ruby 2.0
geeforr
337
31k
Transcript
@yourtwitter The State of Angular Deployment, SSR, and Prerendering ng-conf
keynote twitter.com/mgechev github.com/mgechev blog.mgechev.com Minko Gechev
@mgechev Web in 1991
twitter.com/mgechev @mgechev
@mgechev CGI
twitter.com/mgechev Request page HTML @mgechev
twitter.com/mgechev Execute program Request page HTML @mgechev LCP
@mgechev Largest Contentful Paint (LCP) is a user-centric metric for
estimating when the page is useful for the user. web.dev/lcp
@mgechev Each interaction requires complete page reload
twitter.com/ mgechev
twitter.com/mgechev Execute program Request page HTML @mgechev LCP
twitter.com/mgechev Execute program Request page HTML @mgechev Loading Request scripts
JS LCP TTI
twitter.com/mgechev Execute program Request page HTML @mgechev Fetch data (ajax)
Loading Request scripts LCP TTI JS
twitter.com/ mgechev @mgechev
@mgechev @mgechev
@mgechev
@mgechev @mgechev
twitter.com/mgechev Request / HTML @mgechev
twitter.com/mgechev Request / Loading Request scripts HTML JS @mgechev
twitter.com/mgechev Request / Loading Request scripts Loading Execute scripts HTML
JS @mgechev
twitter.com/mgechev Request / Loading Request scripts Loading Execute scripts HTML
JS @mgechev TTI LCP
twitter.com/mgechev Request / Loading Request scripts Loading Execute scripts HTML
JS @mgechev
twitter.com/ mgechev
@mgechev Sometimes the bundle just can’t get any smaller Minko
Gechev
@mgechev What if the server…was a browser?
twitter.com/mgechev Request / Run app on server HTML @mgechev Request
scripts JS
twitter.com/ mgechev
twitter.com/mgechev
twitter.com/mgechev @mgechev
@yourtwitter Angular Universal in Crunchbase Amanda Cifaldi Senior Staff Engineer
twitter.com/algcifaldi
Our Mission: Democratize access to company information and provide solutions
that guide our users to their next opportunities Angular Universal +
Our Mission: Democratize access to company information and provide solutions
that guide our users to their next opportunities Angular Universal +
Our Mission: Democratize access to company information and provide solutions
that guide our users to their next opportunities
some pages took seconds to load 20 20 But...
// TODO: // access + information => // opportunities?
DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA
DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA
None
biggest funding rounds this year
DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA
DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA
biggest funding rounds this year
First wave: Crawls any source that can be requested and
any links in that source
Second wave: Renders and crawls JS- generated content, and can
be hours or weeks behind the first
https://www.crunchbase.com
recent series a funding in sf tech
None
recent series a funding in sf tech 70% organic traffic
recent series a funding in sf tech
None
recent series a funding in sf tech
recent series a funding in sf tech data science companies
in new york
DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA
DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA
2K pages per minute
2K pages per minute 1M visitors per week
2K pages per minute 1M visitors per week 6 continents
served
2K pages per minute 1M visitors per week 6 continents
served 150 milliseconds per request
None
Our Mission: Democratize access to company information and provide solutions
that guide our users to their next opportunities Angular Universal +
@mgechev Challenges with Universal • Change-refresh time • Deployment
@yourtwitter $ ng add @nguniversal/express-engine $ ng run [PROJECT_NAME]:serve-ssr New
in v9!
@yourtwitter $ ng update @nguniversal/express-engine
twitter.com/mgechev @ManfredSteyer @AlanAgius4 @mgechev
twitter.com/mgechev Deployment
twitter.com/ mgechev New in @angular/fire
New in @angular/fire
twitter.com/ mgechev New in @angular/fire
twitter.com/mgechev Request / HTML @mgechev Request scripts JS TTI Run
app on server LCP
twitter.com/mgechev Request / HTML @mgechev Request scripts JS TTI Run
app on server LCP If not cached Return from the cache Cache LCP
@mgechev Prerendering
@yourtwitter $ ng add @nguniversal/express-engine $ ng run [PROJECT_NAME]:prerender Using
Universal at build-time New in v9!
@mgechev Building the app Prerendering <2s for 800 pages ng
run app:prerender
twitter.com/mgechev
twitter.com/mgechev @mgechev JAMStack By HeroDevs
twitter.com/mgechev @mgechev
@mgechev Thank you! twitter.com/mgechev github.com/mgechev blog.mgechev.com Survey: mgv.io/talk