Company
Date Published
Author
Peri Langlois
Word count
503
Language
English
Hacker News points
None

Summary

Plex, a TV platform, leveraged Next.js for their web experiences to prioritize user experience and improve performance. By refactoring their site to Next.js on Vercel, they decreased the number of lines in their codebase by 40% and improved developer experience. They used Edge Middleware to serve different content based on geographical availability and ran A/B tests without Cumulative Layout Shift or increased page load times. With Vercel's Checkly integration, they could run end-to-end tests and monitor crawl requests immediately. Additionally, they utilized on-demand Incremental Static Regeneration (ISR) to balance the revalidate time of their static pages while allowing backend changes to be picked up quickly. This improved their Google search ranking and delivered a fast user experience.