Cairn AnalyticsData / SaaS2025webapp
Cairn Analytics dashboard
An internal data dashboard rebuilt from scratch. React + server-side rendering cut initial load from 12 seconds to under 1.
Placeholder
Cairn Analytics
webapp
0.8s
Initial load (was 12s)
+45%
Daily active users
0
Errors in first month
The challenge
Cairn’s existing dashboard was a client-side React SPA that fetched 40MB of JSON on page load. Users were quitting the tab before the first chart rendered.
Our approach
We rebuilt on Next.js with the App Router, moving the data-heavy work to the server. Used tRPC for type-safe API calls between server and client. Introduced incremental loading and virtualized tables for the long data views. Picked Supabase for auth and database to avoid operational overhead on a small team.
Outcome
Initial page load: 12s → 0.8s. Time-to-first-chart: 4.5s → 1.1s. Daily active users (who previously churned during load): +45%.
“Six weeks from brief to production. The site loads faster than our old one even loaded its splash screen.”