~/talk

The Lazy Way to Better Performance

Talkat Vueconf.US 2020 · 2020-03-02..03-04· [web-performance, vue]
links:none on file
slides:none on file

A concrete recipe for smaller initial bundles and faster first load by swapping static imports for dynamic import and using the webpack magic comment to set a webpackChunkName so chunks are identifiable. Demo toggles dog profile components and lazy-loads route pages so their code does not download until visited. Bonus shows splitting Vue into its own chunk and toggling comments true in vue config so chunk names survive minification and vendor warnings near 244 KB get addressed.

AI-written summary · about

  1. 0:00Introduction
  2. 0:59Lazy Loading
  3. 5:23Bonus material
~/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.