Web performance optimisations for the harsh conditions
summary
Work on Nigerian and Kenyan markets finds high latency (for Nigeria 90% hosted overseas), mobile-first usage (~75% mobile), and cheap phones where JS parse/compile runs 2–5× slower. Practical fixes: show immediate status messages and simple language, server-side render critical HTML, use preconnect/prefetch/preload, lazy-load offscreen assets, honor navigator.connection.saveData, test back/forward cache in DevTools and cut excess compositing layers (aim under ~10), and add a service worker for repeat visits — all verified in-field as higher-impact than shaving 200ms.
AI-written summary · about
chapters (15)
- 0:00Introduction and context
- 2:10Harsh conditions reality
- 5:24Networking and latency issues
- 8:13Device compute limitations
- 11:48User patience and expectations
- 13:36Visibility of system status
- 17:46Initial content rendering
- 18:51Progressive enhancement
- 20:40Resource hints for latency
- 22:26Caching strategies
- 23:53Lazy loading resources
- 24:54Network resource hints
- 26:19Back-forward cache testing
- 28:27Avoiding excessive layers
- 30:13Summary and key takeaways
