Single comment thread
See full discussion

Thanks for the replies! I've also been made aware that it might be crucial to reflect the "lastmod" timestamp on each link to the last time the page was modified, and not use date the sitemap is generated. Mostly to prevent the crawl from restarting and using up the crawl budget.

I'm going to refactor the sitemap generator to use the real modification dates and see what happens. 🤞

That's what we do for our sitemap. We have the lastmod date be the last time the page was actually modified (we can get that data from Prismic), rather than updating it everytime the sitemap generates.

Home
Search
Messages
Notifications
More