From the course: The Freelance Stack: Real Project with Next.js and Strapi

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Create dynamic zone in Strapi for customizable blog content

Create dynamic zone in Strapi for customizable blog content - Next.js Tutorial

From the course: The Freelance Stack: Real Project with Next.js and Strapi

Create dynamic zone in Strapi for customizable blog content

Awesome, where we stand right now is we have the data coming into this individual blog article page. We also already finished the blog page and one thing that we haven't done yet is started with this blog section over here, but we'll do that right after we finish this individual section over here. So one thing though that before we start hitting into or we start going into creating these components from Strapi, what I would like to do is actually just make sure that our data will not grow stale because so far we actually haven't done a revalidation in here so we're just going to go export cons revalidate and we're going to set this to like i don't know 300 seconds it doesn't matter too much for now but just make sure that you do this because otherwise this uh this data will only be fetched when you build the website and not actually when users are still using them right so this way continuously your data will be updated. Same goes here, we're making sure that every 300 seconds…

Contents