~/talk

Refactoring for Progressive Web Apps

Talkat #PerfMatters Conference 2019 · 2019-04-02..04-03· [pwa, frontend-architecture]
slides:none on file

SalesLoft refactors a monolithic Rails + AngularJS app into a componentized, React-first front end with Webpack, service workers and an app shell to enable offline caching and fast first render. The team adopts the PURPLE pattern (push critical chunks, pre-cache routes, lazy-load fragments), builds a component library, and measures results with Lighthouse 6 → 68 and New Relic Apdex (90% < 7s); tooling includes service workers and DataDog, and GraphQL is planned next.

AI-written summary · about

  1. 0:00Start
  2. 4:43examining some of the business cases for using progressive web
  3. 14:33pushing pre-loading critical resources for the initial route
  4. 15:13pre-caching any remaining routes using the serviceworker
  5. 18:37breaking up a lot of our application into micro services
~/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.