
Cutting load time from 6.2 seconds to 1.1 seconds for a telehealth platform that was losing patients before the page loaded.
Atlas Health's patient portal averaged 6.2 seconds to interactive on 4G connections. 53% of mobile visitors bounced before the appointment form even loaded. The site was built on a bloated WordPress theme with 47 plugins and unoptimized images.
Patients trying to book telehealth appointments on their phones during lunch breaks or commutes simply gave up. The clinic's front desk was fielding constant calls from frustrated patients who could not figure out how to book online. The IT team knew it was slow but did not know where to start.
We rebuilt the frontend from scratch using Next.js with static generation for marketing pages and server components for the patient portal. We implemented code splitting, image optimization with next/image, and edge caching via Cloudflare. The plugin count went from 47 to 8.
Time to interactive
Lighthouse score
Appointment bookings
Our patients were literally giving up before the page loaded. After the rebuild, our appointment booking rate doubled and our support tickets about "the site not working" dropped to zero. WCAG compliance was a bonus that protected us from ADA risk.
The biggest win came from switching to static generation for the marketing pages. Previously, every page hit the WordPress database on every request. Now the marketing content is pre-built at deploy time and served from the edge. Only the patient portal, which needs real-time data, uses server rendering.
We also found that the previous theme was loading 1.8MB of unused CSS and 2.4MB of unused JavaScript. By building custom components from scratch, we shipped only what was needed. The total JavaScript bundle dropped from 3.2MB to 340KB.