Uploaded April 2023 | Updated November 2026, 3 hours ago
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Learn how to revalidate with Next.js 13. There are two types of revalidation: Background Revalidation and On-Demand Revalidation. This tutorial will show you how to apply both to your Next.js app or blog.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- Complete Next.js Developer: bit.ly/CompNextJSDev
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
Github: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/next-js-course
π Playlist for this Next.js Course: bit.ly/dg-nextjs
Revalidate with Next.js | On-Demand Revalidation in Nextjs 13
(00:00) Intro
(00:05) Welcome
(00:30) Starter Code & Lesson Plan
(01:38) Application Overview
(03:40) Two Types of Revalidation
(04:54) Route Segment Config Options
(05:45) dynamicParams config option
(06:03) revalidate config option
(06:36) Setting the route segment config option
(07:32) Build App & Try Revalidating
(10:50) How Background Revalidation & ISR works
(13:19) On-Demand Revalidation
(14:08) Create & Store a Secret Token
(16:24) Revalidate API Route
(17:55) Revalidate Request URL
(19:51) Revalidate Request Handler
(24:26) Trying out On-Demand Revalidation
(27:10) Blog Workflow & Wrap-up
π Tutorial References:
π Next.js Official Site: nextjs.org
π Next.js 13 Beta Docs: beta.nextjs.org/docs
π ES7 React Snippets Extension: marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets
Was this Next.js tutorial about revalidation helpful? If so, please share. Let me know your thoughts in the comments.
#nextjs #revalidate #revalidation
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Learn how to revalidate with Next.js 13. There are two types of revalidation: Background Revalidation and On-Demand Revalidation. This tutorial will show you how to apply both to your Next.js app or blog.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- Complete Next.js Developer: bit.ly/CompNextJSDev
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
Github: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/next-js-course
π Playlist for this Next.js Course: bit.ly/dg-nextjs
Revalidate with Next.js | On-Demand Revalidation in Nextjs 13
(00:00) Intro
(00:05) Welcome
(00:30) Starter Code & Lesson Plan
(01:38) Application Overview
(03:40) Two Types of Revalidation
(04:54) Route Segment Config Options
(05:45) dynamicParams config option
(06:03) revalidate config option
(06:36) Setting the route segment config option
(07:32) Build App & Try Revalidating
(10:50) How Background Revalidation & ISR works
(13:19) On-Demand Revalidation
(14:08) Create & Store a Secret Token
(16:24) Revalidate API Route
(17:55) Revalidate Request URL
(19:51) Revalidate Request Handler
(24:26) Trying out On-Demand Revalidation
(27:10) Blog Workflow & Wrap-up
π Tutorial References:
π Next.js Official Site: nextjs.org
π Next.js 13 Beta Docs: beta.nextjs.org/docs
π ES7 React Snippets Extension: marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets
Was this Next.js tutorial about revalidation helpful? If so, please share. Let me know your thoughts in the comments.
#nextjs #revalidate #revalidation










