[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# Sitemap.xml cached

130 views · 0 likes · 2 posts


Sex4096 (@sex4096) · 2024-08-08

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.


Pauline P. Narvas (@pawlean) · 2024-08-08

Hi there!

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