All notes

May 12, 2026 · 5 min read

Shipping brand sites that load fast on real devices

Every corporate site I've shipped - Rustomjee, Kotak, Godrej - has one non-negotiable: it has to feel instant on a mid-range Android on 4G. Design signs off on desktop; the CTO cares about the phone. Three levers reliably move the number.

1. Ship less JavaScript. I audit every dependency with `bun run build --analyze` and remove anything under 4kb of use. On brand marketing, jQuery, moment.js and full icon fonts almost always go first.

2. Own the fold. LCP is usually one hero image or one webfont. I preload the exact variant, ship AVIF with a JPG fallback, and set explicit width/height so CLS never crosses 0.05.

3. Defer the story. Long-scroll pages get intersection observers with a 200px root-margin - never load a gallery until it's about to be seen. Combined with `content-visibility: auto`, hidden sections cost almost nothing.

Result across the last five projects: Lighthouse mobile 92-97, INP under 200ms on the real devices the client tests with.