Fast Page Loads with Next.js 16 & React 19: Performance in E-Commerce
Yasin Yıldırım • • 5 min read
How did we use Partial Prerendering, streaming server rendering and image optimization to speed up image-heavy pages on the Flamantyou cosmetics platform?
The engineering problem
On image-heavy e-commerce sites, slow-loading pages can lead to lost visitors and higher advertising costs.
The YSNSOFT solution
With the Next.js 16 App Router and React 19 streaming SSR, we sent the page skeleton first and streamed the product content in afterwards. We ran the MediaPipe skin analysis model in the browser with WebAssembly.
Code excerpt
// Next.js 16 App Router Partial Prerendering Config
export const experimental_ppr = true;
export const runtime = 'edge';
export default async function ProductShowcase() {
return (
<Suspense fallback={<ProductCardSkeleton />}>
<DynamicProductStreamer />
</Suspense>
);
}- #Next.js 16
- #React 19
- #Edge Network
- #Turbopack
- #Flamantyou
Related project: Flamantyou Kozmetik & Beauty