~/talk

Angular Universal & Our New Prerenderer

Talkat ng-conf 2020: Hardwired · 2020-04-01..04-03· [angular, web-performance]
links:none on file
slides:none on file

Angular Universal adds server rendering, a new pre-renderer and live code reload in v9 and shows real numbers: client CSR first contentful paint ~740ms (subsequent ~320ms) versus SSR ~300ms (subsequent ~70ms), and browser scripting drops from ~236ms to ~90ms. Setup uses ng add @nguniversal/express-engine and commands like npm run build:ssr, npm run dev:ssr and npm run prerender. The pre-renderer writes static files (dist/demo/browser/<route>/index.html) in parallel — 800 routes render in seconds and pages include a comment marking them as pre-rendered for CDNs.

AI-written summary · about

  1. 0:00Start
  2. 0:55What is Angular Universal?
  3. 1:17Why use server-side rendering?
  4. 9:20Latest Features • Live-reloading for SSR • Prerendering
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.