Everyone wants their apps to load fast and feel snappy. But if we're not focusing on app performance as part of our daily work, it's easy to end up with a janky, slow-loading app. In this talk, Jeff Cross, co-founder of Nrwl.io, will talk about the techniques he utilizes to help enterprise teams quickly measure, analyze, and improve application performance using a combination of open source tools and Chrome Devtools.
For more resources visit https://nrwl.io. Nrwl provides Angular Consulting from core contributors. We help teams through training, consulting, open source and support products. Send us an email at hello@nrwl.io.
14. Understand
• Why is current performance bad for business?
• Do stalled renders correlate with abandonment?
• Is delayed interactivity preventing users from
progressing through our funnel?
• Are sessions short-lived or long-lived?
• What are the most important routes for the
business?
20. Audit
Consistency Between Audits
1. Environment
1. Same computer
2. Close all applications
2. Measure similar to production setup
1. Protocol (HTTP/2)
2. Compression
3. Caching
40. Audit
Additional Optimizations
1. Content rendering blocked by Web fonts loading
1. Optimization: use font-display: swap
2. Deferred and reduced size of non-critical image and video
assets
3. Moved all non-critical routes to lazy-loaded modules
4. Enabled Brotli compression for HTML, CSS, JS assets
5. Moved pre-rendering process to build-time instead of
request-time
41. Audit
Homepage Lighthouse Audits after a Day of Iteration
1. First Contentful Paint 1,920 (originally 30,610)
2. Interactive: 33,170 (originally 38,420)
1. Many more optimizations identified to reduce significantly
42. U A A O
0. Understand 1. Audit 2. Analyze 3. 0ptimize
43.
44. Thank You
Resource Links
• Example UAAO doc: go.nrwl.io/uaao
• Lighthouse
• web.dev/fast
• Minko’s Angular performance checklist
• (I will tweet a link to slides) - @jeffbcross