0%

Đang tải

All posts
2026-05-125 min read

Optimizing Next.js app performance

Performance is a key factor that shapes user experience. In this post, I share practical techniques I've applied.

First is image optimization with the next/image component — automatic lazy-loading and serving modern formats like WebP.

Next is code splitting and dynamic imports to reduce the initial bundle size, making pages load faster.

Finally, leverage caching and Server Components to offload work from the client. The result: a noticeably higher Lighthouse score.