Optimization
Performance optimization, bundle analysis, and caching strategies

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


Optimize your Next.js applications for performance and efficiency.

Learn about bundle analysis, lazy loading modules, build-time scripts, server vs client code separation, and caching strategies to make your Next.js apps faster and more efficient.

Lessons in this unit:

0: ▶︎ Introduction
1: How to analyze the Next.js app bundles
2: The Next.js App Bundles
3: Lazy loading modules in Next.js
4: How to run a script build time in Next.js
5: Next.js: run code only on the server side or client side in Next.js
6: How to cache data in Next.js globally across all pages at build time