Loading video player...
Learn how Next.js 16 unlocks real speed with Cache Components, the use cache directive, cache life, cache tags, and revalidateTag. I demo Partial Pre-Rendering (PPR Next.js) with server components, Suspense streaming, and dynamic vs static patterns in an ecommerce demo using a dog list example, product list skeleton, Core Web Vitals, CLS skeletons, streaming UI, fetch caching, logging fetches full URL, next.config.js cacheComponents, incremental static regeneration, and tag based invalidation. Next.js 16 Cheatsheet: https://dub.sh/nextjs-cheatsheet Build 7 Production Ready Next.js apps: https://dub.sh/nextjs-fullstack-course Tool I use to integrate purchase power parity https://dub.sh/paritykit What to watch next: https://youtu.be/8K33AlmvqNQ?si=2KexUZEHt8nmvx0w https://youtu.be/ml2UiJ69gg8?si=Vls7bR8zSQkCmJPA ā° Chapters 00:00 - Next.js 16 Caching Intro 01:11 - Initial Demo: No Caching 02:27 - Enabling Cache Components 03:27 - The 'use cache' Directive 04:48 - Partial Pre-rendering Explained 06:23 - Mixing Static & Dynamic 08:31 - Improving UX with Skeletons 11:28 - Cache.life for Revalidation 17:09 - Revalidate Tag for Purging 21:10 - Caching Entire Components 22:01 - Custom Cache Profiles 24:22 - Conclusion & Summary š RESOURCES: š Frontend Newsletter: Frontend Snacks šæ https://dub.sh/frontend-snacks If you liked this video, you will also love my newsletter Frontend Snacks. You will learn a new topic each week with cool visuals and snippets, the latest frontend news and behind-the-scenes exclusive updates that I don't share anywhere else. ⨠FREE Goodies: https://kulkarniankita.com/goodies āļø Book a 1:1 coaching session with me Opened a few coaching calls, grab them before they are gone: https://bit.ly/30mins-coaching-with-ankita š¤ Find me here Twitter: https://twitter.com/kulkarniankita9/ LinkedIn: https://www.linkedin.com/in/kulkarniankita/