Quick overview of caching in Next.JS.
Dec 22, 2023 · 5 min read · Recently, while I was working on a NextJs 14/TailwindCSS/Typescript project, I created a function that fetches data from an API route using the fetch API. The function is used on a page(a server component). Below is an example code snippet: 💡 The A...
Join discussion