Sitemap revalidation question
Unanswered
Basset Fauve de Bretagne posted this in #help-forum
Basset Fauve de BretagneOP
Hey all, I have a shared function that uses fetch with force cache and revalidation, I want to use it also for my sitemap.ts—to make the site map dynamic I’m using revalidate option in the file, will my cache from fetch still be used? Asking because if that’s true I need to sync/align the timings between the site map and fetch revalidation , any thoughts? Tks!
1 Reply
Basset Fauve de BretagneOP
Ok, from what I was able to check, if we already are using a function with revalidated fetch no need for the top-level revalidate const. It should be revalidating automatically!