Sitemap.xml cached

I used “next-sitemap” to generate sitemap.xml, sitemap-0.xml and robots.txt files in the “public” folder. However, sitemap.xml cannot be updated. I checked in the deployed source code-Output, and sitemap-0 and robots are updated normally, but sitemap.xml is cached.

Hi there!

Does this guide help?
https://vercel.com/guides/how-to-configure-the-cache-control-response-header-in-vercel-projects

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.