Performance engineering service
Next.js performance optimization based on measurement, not guesswork
Next.js performance optimization starts with one uncomfortable fact: most slow Next.js apps are slow because of a few decisions, not hundreds of small ones. A page that should be static renders on every request. A client component pulls a heavy library into every route. Three data calls run one after another instead of together. I find those decisions, fix them in order of impact, and prove the result with real user data. I work on Next.js 16 with the App Router and React Server Components every day as the architect of live consumer platforms.
Get your app reviewedWhat "fast" means for a Next.js app
Google measures page experience with Core Web Vitals, taken from real Chrome users at the 75th percentile:
- Largest Contentful Paint (LCP): how quickly the main content appears. Good is 2.5 seconds or less.
- Interaction to Next Paint (INP): how quickly the page responds to taps and clicks. Good is 200 milliseconds or less.
- Cumulative Layout Shift (CLS): how much the layout jumps while loading. Good is 0.1 or less.
Lab tools like Lighthouse are useful for finding causes. But the target is field data from real users, because that is what affects search and conversions. I always start from both.
Where Next.js apps usually lose speed
Rendering every page dynamically
In the App Router, reading cookies, headers or search params, or fetching without caching, can quietly make a whole route dynamic. The page is then rendered on every request instead of served from cache. I map each route's rendering mode from the build output and make pages static or partly static wherever the content allows.
Caching that was never designed
Next.js 16 makes caching explicit. With Cache Components you mark what can be cached with the "use cache" directive, set how long it lives with cacheLife, and expire it on demand with cacheTag when data changes. Combined with Suspense, a page can serve a static shell at once and stream the personalised parts. I design this per route, so pages are fast without showing stale prices or stock.
Data waterfalls
A server component that awaits one call, then another, then a third, adds their times together. I run independent requests in parallel, move slow parts behind Suspense boundaries so the rest of the page streams first, and fix N+1 query patterns in the data layer. Often this is the single biggest LCP win.
Too much JavaScript on the client
A "use client" directive at the top of a large tree sends all of it to the browser. I push the boundary down so only interactive leaves are client components, load heavy widgets with dynamic imports, and check the bundle analyzer for libraries that should never have shipped. Less JavaScript also improves INP, because the main thread has less work to do.
Images, fonts and third-party scripts
Unsized images and late-loading web fonts cause most layout shift. I use next/image with correct sizes and priority for the LCP image, next/font so fonts are self-hosted with no layout jump, and next/script with the right loading strategy for analytics, chat widgets and tag managers. Third-party scripts are often the main cause of poor INP, and some of them need to go.
Slow interactions
Poor INP usually comes from long tasks: heavy re-renders, big lists, or work done on every keystroke. I profile the interactions that matter, avoid needless re-renders, memoise costly work, virtualise long lists and use transitions for non-urgent updates. I wrote about several of these techniques in Top 9 tips to optimize a React application, and they apply inside Next.js too.
How a Next.js performance optimization engagement works
- Measure. I collect field data, run lab tests on key templates, and read the build output to see which routes are static, dynamic or streamed.
- Rank. You get a short list of causes ordered by impact and effort, with a clear recommendation for each.
- Fix. I make the changes myself or pair with your engineers. Each fix ships through your normal review and preview process, so it can be checked before production.
- Guard. I add checks to keep it fast, such as bundle size budgets and Lighthouse runs in CI, so the next feature does not undo the work.
Proof from real projects
At Creative Chaos I led the architectural migration of Foxtons' UK property portal, a high-traffic portal, and it achieved a 35% performance improvement. That project is a useful reminder: the biggest gains sometimes come from changing the architecture, not tuning the existing one. In that case the right move was a migration from Next.js to ReactJS on Vite. I recommend whatever the evidence supports, and most of the time that means getting more out of Next.js, not leaving it.
Today I am the sole architect of consumer platforms for a UAE-based holdings group, including CreditMarket.ae and HolidayMarket.ae, both built on Next.js and launched in September 2026. I set the performance standards for the engineering team there. If you need broader Next.js work beyond performance, see my Next.js development service, and if you are weighing an older codebase against the App Router, read my comparison of the Next.js App Router vs Pages Router.
Who this is for
- Product teams whose Core Web Vitals fail in Search Console or whose pages feel slow on mobile.
- E-commerce and marketplace sites where speed affects conversion and pages mix static content with live data.
- Teams moving to the App Router who want caching and rendering set up right from the start.
How to start
Send me your URL and tell me which pages matter most. I will look at the public data first and tell you where I think the biggest gains are. Contact me to start.
Frequently asked questions
How much faster will my Next.js site get?
I can't promise a number before measuring. It depends on what is slowing the app down. Some sites gain a lot from caching and fixing data waterfalls, others need deeper changes. After the first review you get a ranked list with the expected impact of each fix.
Do I need to migrate to the App Router to improve performance?
Not always. Many Pages Router apps can be made much faster with better data fetching, smaller bundles and image work. The App Router does give you server components, streaming and finer caching, so I look at whether a staged migration is worth it for your app.
Why does my Next.js page score well in Lighthouse but fail Core Web Vitals?
Lighthouse runs one lab test on a fast machine. Core Web Vitals come from real users on real devices and networks, at the 75th percentile. Slow phones, third-party scripts and interaction delays often show up only in field data.
Will performance work break existing features?
It shouldn't. Each change ships through your normal review, preview and test process, and caching changes are designed so content stays fresh where it must. I also add checks in CI so regressions are caught early.
Do you work with Next.js apps hosted outside Vercel?
Yes. Most of the work is in the app itself: rendering, caching, data and bundles. Hosting changes how some caching and image settings are configured, and I adjust for your platform.
Let's talk about your project
Software Architect, AI Native. Google Certified Generative AI Leader with 14+ years of experience.
Get your app reviewed