Ready Set Go: Loading Single Page Apps Fast
summary
A 20‑year‑old open source app used by universities on five continents is rebuilt with Symfony and Ember.js and saves about a second per transaction after Blackfire-driven fixes; the talk shows concrete tactics: fingerprinted assets cached for a year, index.html served with ETag revalidation, inline critical CSS plus defer scripts, HTTP/2 push, and a service worker cache pattern that gives instant second visits but warns about the 24‑hour caching pitfall and a service worker kill switch.
AI-written summary · about
chapters (15)
- 0:00Introduction and background
- 3:53What is a single page app
- 7:45First vs second visit performance
- 10:55Optimizing first load size
- 13:04Sending assets faster
- 14:49Loading animations pitfalls
- 15:53Browser rendering order
- 18:42Deferring JavaScript loading
- 19:43Handling no-JavaScript users
- 20:46Catching parsing errors
- 21:08Caching for first and second visits
- 23:42Service workers for instant loads
- 26:52Service workers risks and tips
- 28:18Progressive web apps overview
- 31:27Q&A session
