Basic
Details
- Chrome dev tools performance tab
- Main metrics
- Time to Interactive (TTI)
- First Input Delay (FID), or Input responsiveness
- Largest Contentful Paint (LCP)
- Total Blocking Time (TBT)
- Cumulative Layout Shift (CLS)
- Speed Index
- CPU time spent
- Component-Level CPU Costs
- Chrome DevTools Lighthouse
- The RAIL performance model
Links
- https://developer.chrome.com/docs/devtools/evaluate-performance/
- https://developer.chrome.com/docs/lighthouse/overview/
- https://www.smashingmagazine.com/2021/01/front-end-performance-2021-free-pdf-checklist/
- https://www.smashingmagazine.com/2015/10/rail-user-centric-model-performance/
Courses
Intermediate
Details
- HTTP caching in depth
- Caching/Proxy servers, CDN
- Performance patterns
- List virtualization
- Prefetch/preload
- code-splitting/lazy loading
- Tree-shaking
- SSR
- Browser threading model, event loop
- Offloading CPU-heavy tasks to Web Workers
- Browser rendering pipeline
Links
- https://www.patterns.dev/posts/#performance-patterns
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/EventLoop
- https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers
- https://www.twilio.com/blog/optimize-javascript-application-performance-web-workers
- https://medium.com/@addyosmani/start-performance-budgeting-dabde04cf6a3
- https://developer.chrome.com/articles/renderingng-architecture/
- https://developer.mozilla.org/en-US/docs/Web/Performance/How_browsers_work
- https://developer.chrome.com/articles/renderingng/