In the App Router, data fetching is just async/await inside a Server Component. There is no getServerSideProps or useEffect to wire up: the component runs on the server, awaits its data, and renders. Components can fetch the data they need where they use it, and identical requests in a single render are deduplicated automatically.
The second half of this module is caching. Next.js caches at several layers: request memoization, the Data Cache, the Full Route Cache and the client-side Router Cache. You will learn how each one works and how to control freshness with the cache and next.revalidate options of fetch, tags, and on-demand revalidation.
Watch the lessons in order, then continue on to Server Actions & Forms.
A beginner-friendly introduction to fetching data with async/await in Server Components: what they are, why they are used, and how to render the result.
A hands-on walkthrough: define a TypeScript type, fetch users from a mock API in an async component, and see how request memoization avoids duplicate network requests.
Learn how to fetch, cache and revalidate data with the App Router, with a demo, a caching overview and the foundations behind each layer.
A deeper look at the four caching mechanisms: request memoization, the Data Cache, the Full Route Cache and the client-side Router Cache.