Correct practice for generating routes for an article system
Unanswered
Forest bachac posted this in #help-forum
Forest bachacOP
Hello, I am currently storing an article in a cache and dynamically rendering using [article] folder to get each article.
Each article is cached for an hour, to allow updates using react cache function and export const revalidate.
Once I implement a CMS I will use the revalidate function for on demand revalidation.
So, my question is all of this correct practice? Should I be using generateStaticParams for best SEO?
Each article is cached for an hour, to allow updates using react cache function and export const revalidate.
Once I implement a CMS I will use the revalidate function for on demand revalidation.
So, my question is all of this correct practice? Should I be using generateStaticParams for best SEO?