~/talk

Intro to Webpack and Code-splitting for Phoenix

Talkat Elixir LDN 2016 · on Thursday, 2016-09-22· [javascript, frontend-architecture]
links:none on file
slides:none on file

Explains using web pack with Phoenix to do real code splitting: uses require.ensure and the CommonChunksPlugin to let webpack statically analyze dependencies and produce multiple bundles so the entry stays small. Shows a concrete example dropping a 280 KB bundle that can balloon into multiple megabytes and cites Instagram’s pre-webpack ~15 MB problem. Notes chunked assets cache correctly under Phoenix instead of being forced behind query-string versioning.

AI-written summary · about

  1. 0:00Intro
  2. 1:55Branch vs Webpack
  3. 2:47Codesplitting
  4. 2:57Connectivity issues
  5. 3:45Webpack plugins
  6. 4:21Dependencies
  7. 4:48Rewards
  8. 4:59Synchronization
  9. 5:20Cache
  10. 6:01Summary
~/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.