Перейти к содержимому

“use cache” NextJS’s latest take on data caching

Jack Herrington

0:00 / 0:00

“use cache” NextJS’s latest take on data caching

17 289 просмотров · 1 г. назад
Jack Herrington
210 тыс. подписчиков
17 289 просмотров · 1 г. назад
NextJS 15 has three different ways to handle data caching. Let's take a look at all three ways to cache data in your React app to get the best performance you can. Code: https://github.com/jherr/three-nextjs... CacheLife: https://nextjs.org/docs/canary/app/ap... Our Journey With Caching: https://nextjs.org/blog/our-journey-w... 👉 ProNextJS Course: https://pronextjs.dev 👉 Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ 👉 Discord server signup:   / discord   👉 VS Code theme and font? Night Wolf [black] and Operator Mono 👉 Terminal Theme and font? oh-my-posh with custom prompt and SpaceMono NF 00:00 Introduction 00:17 Why caching is important 02:00 #1 Pages router caching 05:14 #2 App router 15 caching 09:07 #3 DynamicIO caching 14:12 The Suspense “side effect” 15:06 The Per-Request Cache 16:59 Outroduction