On-Demand Revalidation with CMS
Unanswered
Morelet’s Crocodile posted this in #help-forum
Morelet’s CrocodileOP
My website receives content updates from headless wordpress, I want to know the best way to revalidate modified content in CMS, at the moment I use background revalidate but I want to implement On-Demand Revalidation well. So the times I have tried to use revalidateTag the page has had strange behaviors, some simple fetches used in one place can be revalidated without problems, however those that are used in a more complex scheme such as creating an internal page that in turn needs to create a featured card on the home page and appear in some listing on another page, give me too many problems. On the other hand, using On Demand Revalidation also requires setting dynamicParams to true always? because I don't want a user to create a page by adding a url directly, I just want my CMS to create the page. I ask this because I understand that generateStaticParams is only used at the time of the Build, but I do not know if when revalidating it runs again to get the new content? or it is only used in the build? so you always have to make true the dynamicParams. Thanks for your help